From 1d16f33c78d4f01ae0feecb571f21554206fbc90 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 10 May 2007 06:00:48 +0000 Subject: [PATCH] (tex-font-lock-keywords-2): Add citet and citep to the list of citation commands. --- lisp/ChangeLog | 5 +++++ lisp/textmodes/tex-mode.el | 2 ++ 2 files changed, 7 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index cb23ed22fbc..50fa785f9b7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2007-05-09 Stefan Monnier + + * textmodes/tex-mode.el (tex-font-lock-keywords-2): Add citet and citep + to the list of citation commands. + 2007-05-09 Stefan Monnier * vc-hooks.el (vc-find-root): Stop searching when the user changes. 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." (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" ) -- 2.39.5