[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] Changes to auctex/tex.el,v
From: |
Tassilo Horn |
Subject: |
[AUCTeX-diffs] Changes to auctex/tex.el,v |
Date: |
Wed, 27 Mar 2013 08:11:05 +0000 |
CVSROOT: /sources/auctex
Module name: auctex
Changes by: Tassilo Horn <tsdh> 13/03/27 08:11:04
Index: tex.el
===================================================================
RCS file: /sources/auctex/auctex/tex.el,v
retrieving revision 5.712
retrieving revision 5.713
diff -u -b -r5.712 -r5.713
--- tex.el 6 Mar 2013 12:05:43 -0000 5.712
+++ tex.el 27 Mar 2013 08:11:03 -0000 5.713
@@ -2109,7 +2109,7 @@
(file-name-nondirectory (buffer-file-name)))
(not buffer-read-only))
(goto-char (point-max))
- (if (re-search-backward (concat "^\\([^\n]+\\)Local " "Variables:")
+ (if (re-search-backward "^\\([^\n]+\\)Local Variables:"
(- (point-max) 3000) t)
(let ((prefix (TeX-match-buffer 1)))
(re-search-forward (regexp-quote (concat prefix
@@ -2126,10 +2126,10 @@
(when (eq major-mode 'doctex-mode)
(insert comment-prefix TeX-esc "endinput\n"))
(insert
- comment-prefix "Local " "Variables: \n"
+ comment-prefix "Local Variables:\n"
comment-prefix "mode: " mode "\n"
comment-prefix "TeX-master: " (prin1-to-string TeX-master) "\n"
- comment-prefix "End: \n")))))
+ comment-prefix "End:\n")))))
(defun TeX-local-master-p ()
"Return non-nil if there is a `TeX-master' entry in local variables spec.