]> git.eshelyaron.com Git - emacs.git/commitdiff
(tex-font-lock-keywords-2): Add citet and citep
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 10 May 2007 06:00:48 +0000 (06:00 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 10 May 2007 06:00:48 +0000 (06:00 +0000)
to the list of citation commands.

lisp/ChangeLog
lisp/textmodes/tex-mode.el

index cb23ed22fbc2dfba2326a4e15c10e233462cd5d8..50fa785f9b7044e4237baed224ca2f1c23c7625f 100644 (file)
@@ -1,3 +1,8 @@
+2007-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * textmodes/tex-mode.el (tex-font-lock-keywords-2): Add citet and citep
+       to the list of citation commands.
+
 2007-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * vc-hooks.el (vc-find-root): Stop searching when the user changes.
index b5ca77e585385e76ba56d54647a7dc45b5fd4bf6..5757100468b9224dd2b5d8251db120878d468383 100644 (file)
@@ -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"
                          )