[Top][All Lists]
[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: |
Fri, 06 May 2005 11:48:43 -0400 |
Index: auctex/tex.el
diff -u auctex/tex.el:5.509 auctex/tex.el:5.510
--- auctex/tex.el:5.509 Fri May 6 09:09:34 2005
+++ auctex/tex.el Fri May 6 15:48:42 2005
@@ -1363,13 +1363,13 @@
(insert "% " TeX-esc "fi\n"))))))
(defun TeX-local-master-p ()
- "Return t if there is a `TeX-master' entry in the local variables section.
+ "Return non-nil if there is a `TeX-master' entry in local variables spec.
Return nil otherwise."
(save-excursion
+ ;; XXX: Checking -*- line necessary as well?
(goto-char (point-max))
- (if (re-search-backward "^%+ *TeX-master:" nil t)
- t
- nil)))
+ (search-backward "\n\^L" (max (- (point-max) 3000) (point-min)) 'move)
+ (re-search-forward "^%+ *TeX-master:" nil t)))
;;; Style Paths
- [AUCTeX-diffs] Changes to auctex/tex.el, Ralf Angeli, 2005/05/01
- [AUCTeX-diffs] Changes to auctex/tex.el, David Kastrup, 2005/05/01
- [AUCTeX-diffs] Changes to auctex/tex.el, David Kastrup, 2005/05/06
- [AUCTeX-diffs] Changes to auctex/tex.el,
Ralf Angeli <=
- [AUCTeX-diffs] Changes to auctex/tex.el, Ralf Angeli, 2005/05/07
- [AUCTeX-diffs] Changes to auctex/tex.el, Ralf Angeli, 2005/05/09
- [AUCTeX-diffs] Changes to auctex/tex.el, Ralf Angeli, 2005/05/11
- [AUCTeX-diffs] Changes to auctex/tex.el, Ralf Angeli, 2005/05/11
- [AUCTeX-diffs] Changes to auctex/tex.el, Ralf Angeli, 2005/05/12
- [AUCTeX-diffs] Changes to auctex/tex.el, Ralf Angeli, 2005/05/17
- [AUCTeX-diffs] Changes to auctex/tex.el, Ralf Angeli, 2005/05/21
- [AUCTeX-diffs] Changes to auctex/tex.el, David Kastrup, 2005/05/22
- [AUCTeX-diffs] Changes to auctex/tex.el, Ralf Angeli, 2005/05/24
- [AUCTeX-diffs] Changes to auctex/tex.el, Ralf Angeli, 2005/05/28