Mercurial > emacs
view msdos/sed6.inp @ 51336:c1252b2b2582
(latex-block-args-alist, latex-block-body-alist): New vars.
(latex-insert-block): Use them.
(tex-string-prefix-p): New fun.
(tex-guess-main-file): Use it to detect when the main file
is in a parent directory.
(tex-main-file): Try to find a main-file in parent directories.
(tex-compile-default): Don't use `gv' on pdf files just because
`gv' was used recently on a ps file. Remove unused arg `dir'.
Reuse a previous command as-is if it applied to the same file.
(tex-compile): Use the right file name when file is not in dir.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Fri, 30 May 2003 18:52:46 +0000 |
parents | 14bc899ea288 |
children | 76e8f941998a d7ddb3e565de |
line wrap: on
line source
# -sed6.inp------------------------------------------------------------------ # Configuration script for man/Makefile, lispref/Makefile, and # lispintro/Makefile under DJGPP v2.x # --------------------------------------------------------------------------- # # Copyright (C) 1997, 2000, 2001 # Free Software Foundation, Inc. # # This file is part of GNU Emacs. # # This file is free software; as a special exception, the author gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # # ---------------------------------------------------------------------- /^srcdir *=/s/@[^@\n]*@/./ /^VPATH *=/s/@[^@\n]*@/./ /^ENVADD/c\ ENVADD =\ export TEXINPUTS := $(srcdir)";"$(TEXINPUTS)\ export MAKEINFO := $(MAKEINFO) -I$(srcdir) /^texinputdir/c\ texinputdir =\ export texinputdir := $(srcdir)";"$(TEXINPUTS) /^SHELL *=/s/^/# /