[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] elpa 43cbc5f 04/35: Remove support to "Master:" line
From: |
Tassilo Horn |
Subject: |
[elpa] elpa 43cbc5f 04/35: Remove support to "Master:" line |
Date: |
Sun, 31 Jan 2016 16:05:33 +0000 |
branch: elpa
commit 43cbc5f73e42f72a3bb0816a4ab07f66a7ba93c8
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>
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.
---
tex.el | 21 +--------------------
1 files changed, 1 insertions(+), 20 deletions(-)
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)))))
- [elpa] branch elpa created (now 0a99c11), Tassilo Horn, 2016/01/31
- [elpa] elpa 43cbc5f 04/35: Remove support to "Master:" line,
Tassilo Horn <=
- [elpa] elpa e4cde66 02/35: Determine AUCTEXDATE and AUCTEXVERSION from git, Tassilo Horn, 2016/01/31
- [elpa] elpa c2fbb9c 01/35: Fix error in autogen.sh, configure, and Makefile, Tassilo Horn, 2016/01/31
- [elpa] elpa fac521d 05/35: Fix bug in TeX-command-sequence, Tassilo Horn, 2016/01/31
- [elpa] elpa 4ed66ee 03/35: Activate RefTeX reference styles, Tassilo Horn, 2016/01/31
- [elpa] elpa 8334cde 08/35: ; Fix a typo in header, Tassilo Horn, 2016/01/31
- [elpa] elpa 065b1e8 09/35: Improve style/amsthm.el, Tassilo Horn, 2016/01/31
- [elpa] elpa 68d9b03 07/35: Rename TeX-after-TeX-LaTeX-command-finished-hook, Tassilo Horn, 2016/01/31
- [elpa] elpa 2880b62 13/35: Fix regex in texmathp, Tassilo Horn, 2016/01/31
- [elpa] elpa 63ea223 06/35: Convert Elisp source files to UTF-8, Tassilo Horn, 2016/01/31
- [elpa] elpa 5940550 10/35: Add new style/theorem.el, Tassilo Horn, 2016/01/31