auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 43cbc5f73e42f72a3bb08


From: Mosè Giordano
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 43cbc5f73e42f72a3bb0816a4ab07f66a7ba93c8
Date: Wed, 18 Nov 2015 23:06:08 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  43cbc5f73e42f72a3bb0816a4ab07f66a7ba93c8 (commit)
      from  4ed66ee71b12f88010808972f1cf697a7b72828d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 43cbc5f73e42f72a3bb0816a4ab07f66a7ba93c8
Author: Mosè Giordano <address@hidden>
Date:   Thu Nov 19 00:04:06 2015 +0100

    Remove support to "Master:" line
    
    * tex.el (TeX-convert-master): Remove now unused variable.
    (TeX-master-file): Remove support to "Master:" line and update
    documentation accordingly.

diff --git a/tex.el b/tex.el
index ce0c344..46196a7 100644
--- a/tex.el
+++ b/tex.el
@@ -2210,10 +2210,6 @@ this variable to \"<none>\"."
   :group 'TeX-command
   :type 'regexp)
 
-(defvar TeX-convert-master t
-  "*If not nil, automatically convert ``Master:'' lines to file variables.
-This will be done when AUCTeX first try to use the master file.")
-
 ;; 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)
@@ -2269,10 +2265,7 @@ If optional second argument NONDIRECTORY is non-nil, do 
not include
 the directory.
 
 If optional third argument ASK is non-nil, ask the user for the
-name of master file if it cannot be determined otherwise.
-
-Currently it will check for the presence of a ``Master:'' line in
-the beginning of the file, but that feature will be phased out."
+name of master file if it cannot be determined otherwise."
   (interactive)
   (if (eq extension t)
       (setq extension TeX-default-extension))
@@ -2319,18 +2312,6 @@ the beginning of the file, but that feature will be 
phased out."
         ;; We might already know the name.
         ((or (eq TeX-master t) (stringp TeX-master)) TeX-master)
 
-        ;; Support the ``Master:'' line (under protest!)
-        ((re-search-forward
-          "^%% *[Mm]aster:?[ \t]*\\([^ \t\n]+\\)" 500 t)
-         (setq TeX-master
-               (TeX-strip-extension (TeX-match-buffer 1)
-                                    (list TeX-default-extension)))
-         (if TeX-convert-master
-             (progn
-               (beginning-of-line)
-               (kill-line 1)
-               (TeX-add-local-master))))
-
         ;; Ask the user (but add it as a local variable).
         (ask (TeX-master-file-ask)))))
 

-----------------------------------------------------------------------

Summary of changes:
 tex.el |   21 +--------------------
 1 files changed, 1 insertions(+), 20 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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