[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/textmodes/tex-mode.el
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/textmodes/tex-mode.el |
Date: |
Mon, 07 Jul 2003 16:52:28 -0400 |
Index: emacs/lisp/textmodes/tex-mode.el
diff -c emacs/lisp/textmodes/tex-mode.el:1.136
emacs/lisp/textmodes/tex-mode.el:1.137
*** emacs/lisp/textmodes/tex-mode.el:1.136 Sat Jun 14 15:56:50 2003
--- emacs/lisp/textmodes/tex-mode.el Mon Jul 7 16:52:27 2003
***************
*** 1651,1658 ****
"Return the relative name of the main file."
(let* ((file (or tex-main-file
;; Compatibility with AUCTeX.
! (and (boundp 'TeX-master) (stringp TeX-master)
! (set (make-local-variable 'tex-main-file) TeX-master))
;; Try to guess the main file.
(if (not buffer-file-name)
(error "Buffer is not associated with any file")
--- 1651,1660 ----
"Return the relative name of the main file."
(let* ((file (or tex-main-file
;; Compatibility with AUCTeX.
! (with-no-warnings
! (when (and (boundp 'TeX-master) (stringp TeX-master))
! (make-local-variable 'tex-main-file)
! (setq tex-main-file TeX-master)))
;; Try to guess the main file.
(if (not buffer-file-name)
(error "Buffer is not associated with any file")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/textmodes/tex-mode.el,
Richard M. Stallman <=