From: Stefan Monnier Date: Thu, 10 May 2007 06:00:48 +0000 (+0000) Subject: (tex-font-lock-keywords-2): Add citet and citep X-Git-Tag: emacs-pretest-23.0.90~12701 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1d16f33c78d4f01ae0feecb571f21554206fbc90;p=emacs.git (tex-font-lock-keywords-2): Add citet and citep to the list of citation commands. --- 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" )