changeset 80888:4005ed72ef83

(tex-font-lock-keywords-2): Add citet and citep to the list of citation commands.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 10 May 2007 06:00:48 +0000
parents a0e8097f1696
children 8938fa90afdb
files lisp/ChangeLog lisp/textmodes/tex-mode.el
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed May 09 23:47:51 2007 +0000
+++ b/lisp/ChangeLog	Thu May 10 06:00:48 2007 +0000
@@ -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.
--- a/lisp/textmodes/tex-mode.el	Wed May 09 23:47:51 2007 +0000
+++ b/lisp/textmodes/tex-mode.el	Thu May 10 06:00:48 2007 +0000
@@ -527,6 +527,8 @@
 	    (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"
 			  )