]> code.delx.au - gnu-emacs/blobdiff - lisp/textmodes/reftex-parse.el
Update copyright year to 2016
[gnu-emacs] / lisp / textmodes / reftex-parse.el
index ce73939ac32bf6127f8861d39cbe06de372b7441..5f969f4effdfdaf014814b50c7af4aaf779385c1 100644 (file)
@@ -1,6 +1,6 @@
 ;;; reftex-parse.el --- parser functions for RefTeX
 
-;; Copyright (C) 1997-2014 Free Software Foundation, Inc.
+;; Copyright (C) 1997-2016 Free Software Foundation, Inc.
 
 ;; Author: Carsten Dominik <dominik@science.uva.nl>
 ;; Maintainer: auctex-devel@gnu.org
@@ -244,7 +244,7 @@ of master file."
                 (when (or (null reftex-label-ignored-macros-and-environments)
                           ;; \label{} defs should always be honored,
                           ;; just no keyval style [label=foo] defs.
-                          (string-equal "\label{" (substring (reftex-match-string 0) 0 7))
+                          (string-equal "\\label{" (substring (reftex-match-string 0) 0 7))
                            (if (and (fboundp 'TeX-current-macro)
                                     (fboundp 'LaTeX-current-environment))
                                (not (or (member (save-match-data (TeX-current-macro))