auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-diffs] Changes to reftex/lisp/reftex-parse.el,v


From: Ralf Angeli
Subject: [AUCTeX-diffs] Changes to reftex/lisp/reftex-parse.el,v
Date: Sat, 03 May 2008 09:18:32 +0000

CVSROOT:        /sources/auctex
Module name:    reftex
Changes by:     Ralf Angeli <angeli>    08/05/03 09:18:30

Index: reftex-parse.el
===================================================================
RCS file: /sources/auctex/reftex/lisp/reftex-parse.el,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -b -r1.37 -r1.38
--- reftex-parse.el     13 Apr 2008 13:24:37 -0000      1.37
+++ reftex-parse.el     3 May 2008 09:18:28 -0000       1.38
@@ -245,7 +245,11 @@
                 ;; be the start of the current environment to be
                 ;; found by `reftex-label-info'.
                  (setq bound (match-beginning 0))
-
+                ;; The section regexp matches a character at the end
+                ;; we are not interested in.  Especially if it is the
+                ;; backslash of a following macro we want to find in
+                ;; the next parsing iteration.
+                (when (eq (char-before) ?\\) (backward-char))
                  ;; Insert in List
                  (setq toc-entry (reftex-section-info file))
                  (when toc-entry




reply via email to

[Prev in Thread] Current Thread [Next in Thread]