CVSROOT: /sources/auctex
Module name: reftex
Changes by: Ralf Angeli <angeli> 08/04/13 13:24:37
Index: reftex-parse.el
===================================================================
RCS file: /sources/auctex/reftex/lisp/reftex-parse.el,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- reftex-parse.el 23 Aug 2007 21:36:02 -0000 1.36
+++ reftex-parse.el 13 Apr 2008 13:24:37 -0000 1.37
@@ -239,7 +239,12 @@
((match-end 3)
;; It is a section
- (setq bound (point))
+
+ ;; Use the beginning as bound and not the end
+ ;; (i.e. (point)) because the section command might
+ ;; be the start of the current environment to be
+ ;; found by `reftex-label-info'.
+ (setq bound (match-beginning 0))
;; Insert in List
(setq toc-entry (reftex-section-info file))
_______________________________________________
auctex-diffs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-diffs