diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2003-05-13 20:40:11 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2003-05-13 20:40:11 +0000 |
commit | bd31028ffc2cc49dbc5f535b4a80a8894252364f (patch) | |
tree | bb7e3e9617238ad1219741568eadf67ea460748c /lisp/textmodes/reftex-parse.el | |
parent | cc311d2bbb82175d36ecb8b8103261b00e9ee0f6 (diff) | |
download | emacs-bd31028ffc2cc49dbc5f535b4a80a8894252364f.tar.gz |
(reftex-what-macro): Don't assume that point-min == 1.
Diffstat (limited to 'lisp/textmodes/reftex-parse.el')
-rw-r--r-- | lisp/textmodes/reftex-parse.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/reftex-parse.el b/lisp/textmodes/reftex-parse.el index 5d44767eab5..90a0ae3e6cf 100644 --- a/lisp/textmodes/reftex-parse.el +++ b/lisp/textmodes/reftex-parse.el @@ -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) |