diff options
| author | Stefan Monnier | 2007-05-10 06:00:48 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2007-05-10 06:00:48 +0000 |
| commit | 1d16f33c78d4f01ae0feecb571f21554206fbc90 (patch) | |
| tree | 9ebfad85a08180228c8e1242c2c37985fa37eb33 | |
| parent | 93fe701da42dbf1065a75c59e69ea79654ca1eba (diff) | |
| download | emacs-1d16f33c78d4f01ae0feecb571f21554206fbc90.tar.gz emacs-1d16f33c78d4f01ae0feecb571f21554206fbc90.zip | |
(tex-font-lock-keywords-2): Add citet and citep
to the list of citation commands.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/textmodes/tex-mode.el | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index cb23ed22fbc..50fa785f9b7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | 2007-05-09 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2007-05-09 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * textmodes/tex-mode.el (tex-font-lock-keywords-2): Add citet and citep | ||
| 4 | to the list of citation commands. | ||
| 5 | |||
| 6 | 2007-05-09 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 7 | |||
| 3 | * vc-hooks.el (vc-find-root): Stop searching when the user changes. | 8 | * vc-hooks.el (vc-find-root): Stop searching when the user changes. |
| 4 | 9 | ||
| 5 | 2007-05-09 Edward O'Connor <hober0@gmail.com> (tiny change) | 10 | 2007-05-09 Edward O'Connor <hober0@gmail.com> (tiny change) |
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index b5ca77e5853..5757100468b 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el | |||
| @@ -527,6 +527,8 @@ An alternative value is \" . \", if you use a font with a narrow period." | |||
| 527 | (citations (regexp-opt | 527 | (citations (regexp-opt |
| 528 | '("label" "ref" "pageref" "vref" "eqref" | 528 | '("label" "ref" "pageref" "vref" "eqref" |
| 529 | "cite" "nocite" "index" "glossary" "bibitem" | 529 | "cite" "nocite" "index" "glossary" "bibitem" |
| 530 | ;; natbib's two variants of \cite: | ||
| 531 | "citep" "citet" | ||
| 530 | ;; These are text, rather than citations. | 532 | ;; These are text, rather than citations. |
| 531 | ;; "caption" "footnote" "footnotemark" "footnotetext" | 533 | ;; "caption" "footnote" "footnotemark" "footnotetext" |
| 532 | ) | 534 | ) |