[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] Changes to auctex/tex.el,v
From: |
Ralf Angeli |
Subject: |
[AUCTeX-diffs] Changes to auctex/tex.el,v |
Date: |
Mon, 28 Jul 2008 20:41:13 +0000 |
CVSROOT: /cvsroot/auctex
Module name: auctex
Changes by: Ralf Angeli <angeli> 08/07/28 20:41:12
Index: tex.el
===================================================================
RCS file: /cvsroot/auctex/auctex/tex.el,v
retrieving revision 5.627
retrieving revision 5.628
diff -u -b -r5.627 -r5.628
--- tex.el 27 Jul 2008 20:08:57 -0000 5.627
+++ tex.el 28 Jul 2008 20:41:12 -0000 5.628
@@ -960,8 +960,9 @@
(const :tag "Never" nil)
(const :tag "Ask" ask))
:group 'TeX-view)
-(defvaralias 'TeX-source-specials-view-start-server
- 'TeX-source-correlate-start-server)
+(when (fboundp 'defvaralias)
+ (defvaralias 'TeX-source-specials-view-start-server
+ 'TeX-source-correlate-start-server))
(defvar TeX-source-correlate-start-server-asked nil
"Keep track if question about server start search was asked.")
@@ -1409,6 +1410,38 @@
;;; Master File
+(defcustom TeX-master t
+ "*The master file associated with the current buffer.
+If the file being edited is actually included from another file, you
+can tell AUCTeX the name of the master file by setting this variable.
+If there are multiple levels of nesting, specify the top level file.
+
+If this variable is nil, AUCTeX will query you for the name.
+
+If the variable is t, AUCTeX will assume the file is a master file
+itself.
+
+If the variable is 'shared, AUCTeX will query for the name, but not
+change the file.
+
+If the variable is 'dwim, AUCTeX will try to avoid querying by
+attempting to `do what I mean'; and then change the file.
+
+It is suggested that you use the File Variables (see the info node in
+the Emacs manual) to set this variable permanently for each file."
+ :group 'TeX-command
+ :group 'TeX-parse
+ :type '(choice (const :tag "Query" nil)
+ (const :tag "This file" t)
+ (const :tag "Shared" shared)
+ (const :tag "Dwim" dwim)
+ (string :format "%v")))
+(make-variable-buffer-local 'TeX-master)
+(put 'TeX-master 'safe-local-variable
+ '(lambda (x)
+ (or (stringp x)
+ (member x (quote (t nil shared dwim))))))
+
(defcustom TeX-one-master "\\.\\(texi?\\|dtx\\)$"
"*Regular expression matching ordinary TeX files.
@@ -1422,6 +1455,10 @@
: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)
@@ -1573,42 +1610,6 @@
(and buffer-file-name
(file-name-directory buffer-file-name)))))))
-(defcustom TeX-master t
- "*The master file associated with the current buffer.
-If the file being edited is actually included from another file, you
-can tell AUCTeX the name of the master file by setting this variable.
-If there are multiple levels of nesting, specify the top level file.
-
-If this variable is nil, AUCTeX will query you for the name.
-
-If the variable is t, AUCTeX will assume the file is a master file
-itself.
-
-If the variable is 'shared, AUCTeX will query for the name, but not
-change the file.
-
-If the variable is 'dwim, AUCTeX will try to avoid querying by
-attempting to `do what I mean'; and then change the file.
-
-It is suggested that you use the File Variables (see the info node in
-the Emacs manual) to set this variable permanently for each file."
- :group 'TeX-command
- :group 'TeX-parse
- :type '(choice (const :tag "Query" nil)
- (const :tag "This file" t)
- (const :tag "Shared" shared)
- (const :tag "Dwim" dwim)
- (string :format "%v")))
-(make-variable-buffer-local 'TeX-master)
-(put 'TeX-master 'safe-local-variable
- '(lambda (x)
- (or (stringp x)
- (member x (quote (t nil shared dwim))))))
-
-(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.")
-
(defun TeX-add-local-master ()
"Add local variable for `TeX-master'."
(when (and (buffer-file-name)
- [AUCTeX-diffs] Changes to auctex/tex.el,v, Ralf Angeli, 2008/07/06
- [AUCTeX-diffs] Changes to auctex/tex.el,v, Ralf Angeli, 2008/07/06
- [AUCTeX-diffs] Changes to auctex/tex.el,v, Ralf Angeli, 2008/07/14
- [AUCTeX-diffs] Changes to auctex/tex.el,v, Ralf Angeli, 2008/07/19
- [AUCTeX-diffs] Changes to auctex/tex.el,v, Ralf Angeli, 2008/07/23
- [AUCTeX-diffs] Changes to auctex/tex.el,v, Ralf Angeli, 2008/07/24
- [AUCTeX-diffs] Changes to auctex/tex.el,v, Ralf Angeli, 2008/07/27
- [AUCTeX-diffs] Changes to auctex/tex.el,v,
Ralf Angeli <=