aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes/tex-mode.el
diff options
context:
space:
mode:
authorStefan Monnier <[email protected]>2007-05-10 06:00:48 +0000
committerStefan Monnier <[email protected]>2007-05-10 06:00:48 +0000
commit1d16f33c78d4f01ae0feecb571f21554206fbc90 (patch)
tree9ebfad85a08180228c8e1242c2c37985fa37eb33 /lisp/textmodes/tex-mode.el
parent93fe701da42dbf1065a75c59e69ea79654ca1eba (diff)
(tex-font-lock-keywords-2): Add citet and citep
to the list of citation commands.
Diffstat (limited to 'lisp/textmodes/tex-mode.el')
-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 b5ca77e585..5757100468 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."
(citations (regexp-opt
'("label" "ref" "pageref" "vref" "eqref"
"cite" "nocite" "index" "glossary" "bibitem"
+ ;; natbib's two variants of \cite:
+ "citep" "citet"
;; These are text, rather than citations.
;; "caption" "footnote" "footnotemark" "footnotetext"
)