aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/textmodes/reftex-cite.el2
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 1f899700d46..8f5ae243eeb 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12014-01-21 Tassilo Horn <tsdh@gnu.org>
2
3 * textmodes/reftex-cite.el (reftex-all-used-citation-keys): Fix
4 regex used for scanning for citation keys which failed for
5 citations with optional arguments.
6
12014-01-21 Leo Liu <sdl.web@gmail.com> 72014-01-21 Leo Liu <sdl.web@gmail.com>
2 8
3 * simple.el (read--expression): Don't enable eldoc-mode. 9 * simple.el (read--expression): Don't enable eldoc-mode.
diff --git a/lisp/textmodes/reftex-cite.el b/lisp/textmodes/reftex-cite.el
index 1654397dc67..a36fa17fca5 100644
--- a/lisp/textmodes/reftex-cite.el
+++ b/lisp/textmodes/reftex-cite.el
@@ -1130,7 +1130,7 @@ recommended for follow mode. It works OK for individual lookups."
1130 (save-restriction 1130 (save-restriction
1131 (widen) 1131 (widen)
1132 (goto-char (point-min)) 1132 (goto-char (point-min))
1133 (while (re-search-forward "\\(?:^\\|\\=\\)[^%\n\r]*?\\\\\\(bibentry\\|[a-zA-Z]*cite[a-zA-Z]*\\)\\(\\[[^\\]]*\\]\\)?{\\([^}]+\\)}" nil t) 1133 (while (re-search-forward "\\(?:^\\|\\=\\)[^%\n\r]*?\\\\\\(bibentry\\|[a-zA-Z]*cite[a-zA-Z]*\\)\\(\\[[^]]*\\]\\)?{\\([^}]+\\)}" nil t)
1134 (setq kk (match-string-no-properties 3)) 1134 (setq kk (match-string-no-properties 3))
1135 (while (string-match "%.*\n?" kk) 1135 (while (string-match "%.*\n?" kk)
1136 (setq kk (replace-match "" t t kk))) 1136 (setq kk (replace-match "" t t kk)))