aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorStefan Monnier2007-05-10 06:00:48 +0000
committerStefan Monnier2007-05-10 06:00:48 +0000
commit1d16f33c78d4f01ae0feecb571f21554206fbc90 (patch)
tree9ebfad85a08180228c8e1242c2c37985fa37eb33 /lisp/textmodes
parent93fe701da42dbf1065a75c59e69ea79654ca1eba (diff)
downloademacs-1d16f33c78d4f01ae0feecb571f21554206fbc90.tar.gz
emacs-1d16f33c78d4f01ae0feecb571f21554206fbc90.zip
(tex-font-lock-keywords-2): Add citet and citep
to the list of citation commands.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/tex-mode.el2
1 files changed, 2 insertions, 0 deletions
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 )