changeset 50977:c65fda3322a1

(reftex-what-macro): Don't assume that point-min == 1.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 13 May 2003 20:40:11 +0000
parents 4b3ce62d56f2
children 186bf7e6e245
files lisp/textmodes/reftex-parse.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/reftex-parse.el	Tue May 13 20:39:27 2003 +0000
+++ b/lisp/textmodes/reftex-parse.el	Tue May 13 20:40:11 2003 +0000
@@ -1,5 +1,5 @@
 ;;; reftex-parse.el --- parser functions for RefTeX
-;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+;; Copyright (c) 1997, 1998, 1999, 2000, 2003  Free Software Foundation, Inc.
 
 ;; Author: Carsten Dominik <dominik@science.uva.nl>
 ;; Version: 4.18
@@ -773,7 +773,7 @@
           pos cmd-list cmd cnt cnt-opt entry)
       (save-restriction
         (save-excursion
-          (narrow-to-region (max 1 bound) (point-max))
+          (narrow-to-region (max (point-min) bound) (point-max))
           ;; move back out of the current parenthesis
           (while (condition-case nil
                      (progn (up-list -1) t)