aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2009-05-20 15:14:20 +0000
committerStefan Monnier2009-05-20 15:14:20 +0000
commit24d2266c2003adab99cb30587a353c4663af7ddf (patch)
treef1c6b16841cf70dfe80e8b36a2b9204afa9c5c74
parent48b862642ec22bfd7168d2d4ecccba6cdf130bce (diff)
downloademacs-24d2266c2003adab99cb30587a353c4663af7ddf.tar.gz
emacs-24d2266c2003adab99cb30587a353c4663af7ddf.zip
(tex-uptodate-p): Accept [1{/var/foo}] as a page number.
-rw-r--r--lisp/ChangeLog18
-rw-r--r--lisp/textmodes/tex-mode.el6
2 files changed, 16 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ac91f3f3f10..108e28a5242 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12009-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * textmodes/tex-mode.el (tex-uptodate-p): Accept [1{/var/foo}] as
4 a page number.
5
12009-05-20 Jason Rumney <jasonr@gnu.org> 62009-05-20 Jason Rumney <jasonr@gnu.org>
2 7
3 * files.el (locate-dominating-stop-dir-regexp): Add terminal 8 * files.el (locate-dominating-stop-dir-regexp): Add terminal
@@ -5,19 +10,18 @@
5 10
62009-05-20 Chong Yidong <cyd@stupidchicken.com> 112009-05-20 Chong Yidong <cyd@stupidchicken.com>
7 12
8 * international/encoded-kb.el (encoded-kbd-setup-display): Change 13 * international/encoded-kb.el (encoded-kbd-setup-display):
9 DISPLAY arg to TERMINAL. 14 Change DISPLAY arg to TERMINAL.
10 15
11 * international/mule.el (set-terminal-coding-system) 16 * international/mule.el (set-terminal-coding-system)
12 (set-keyboard-coding-system): Change DISPLAY arg to TERMINAL. 17 (set-keyboard-coding-system): Change DISPLAY arg to TERMINAL.
13 18
142009-05-19 Alan Mackenzie <acm@muc.de> 192009-05-19 Alan Mackenzie <acm@muc.de>
15 20
16 * progmodes/cc-mode.el (c-extend-and-neutralize-CPP-line): Renamed 21 * progmodes/cc-mode.el (c-extend-and-neutralize-CPP-line):
17 from c-neutralize-syntax-in-CPP. Set the variables c-new-BEG and 22 Rename from c-neutralize-syntax-in-CPP. Set the variables c-new-BEG
18 c-new-END, thus extending the font-lock region. 23 and c-new-END, thus extending the font-lock region.
19 (c-font-lock-init): Don't set obsolete variable 24 (c-font-lock-init): Don't set obsolete variable font-lock-lines-before.
20 font-lock-lines-before.
21 25
22 * progmodes/cc-langs.el (c-before-font-lock-function): Rename a 26 * progmodes/cc-langs.el (c-before-font-lock-function): Rename a
23 value to c-extend-and-neutralize-syntax-in-CPP. 27 value to c-extend-and-neutralize-syntax-in-CPP.
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index 312a081992e..8c8a9d5ac1a 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -1924,7 +1924,11 @@ FILE is typically the output DVI or PDF file."
1924 " (.*)\\.") 1924 " (.*)\\.")
1925 nil t) 1925 nil t)
1926 (> (save-excursion 1926 (> (save-excursion
1927 (or (re-search-backward "\\[[0-9]+\\]" nil t) 1927 ;; Usually page numbers are output as [N], but
1928 ;; I've already seen things like
1929 ;; [1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}]
1930 (or (re-search-backward "\\[[0-9]+\\({[^}]*}\\)?\\]"
1931 nil t)
1928 (point-min))) 1932 (point-min)))
1929 (save-excursion 1933 (save-excursion
1930 (or (re-search-backward "Rerun" nil t) 1934 (or (re-search-backward "Rerun" nil t)