auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-diffs] Changes to auctex/tex.el


From: Ralf Angeli
Subject: [AUCTeX-diffs] Changes to auctex/tex.el
Date: Thu, 16 Jun 2005 04:52:11 -0400

Index: auctex/tex.el
diff -u auctex/tex.el:5.527 auctex/tex.el:5.528
--- auctex/tex.el:5.527 Sat Jun 11 19:28:25 2005
+++ auctex/tex.el       Thu Jun 16 08:52:09 2005
@@ -1163,8 +1163,8 @@
   :group 'TeX-command
   :type 'regexp)
 
-;; Can be let-bound temporarily in order to inhibit the master file
-;; question for shared files where its value will be used instead.
+;; Can be let-bound temporarily in order to inhibit the master file question
+;; by using its value instead in case `TeX-master' is nil or 'shared.
 (defvar TeX-transient-master nil)
 
 (defun TeX-dwim-master ()
@@ -1233,7 +1233,8 @@
        (widen)
        (goto-char (point-min))
        (cond
-        (TeX-transient-master
+        ((and TeX-transient-master
+              (or (not TeX-master) (eq TeX-master 'shared)))
          (setq TeX-master TeX-transient-master))
         ;; Special value 't means it is own master (a free file).
         ((equal TeX-master my-name)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]