]> git.eshelyaron.com Git - emacs.git/commitdiff
(reftex-what-macro): Don't assume that point-min == 1.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 13 May 2003 20:40:11 +0000 (20:40 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 13 May 2003 20:40:11 +0000 (20:40 +0000)
lisp/textmodes/reftex-parse.el

index 5d44767eab5b83b3454de1f797674eaee5171e58..90a0ae3e6cfce2fa8c5b95d4a26c85d933682b14 100644 (file)
@@ -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 @@ of master file."
           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)