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)
_______________________________________________
auctex-diffs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-diffs