diff options
| author | Stefan Monnier | 2003-05-13 20:40:11 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2003-05-13 20:40:11 +0000 |
| commit | bd31028ffc2cc49dbc5f535b4a80a8894252364f (patch) | |
| tree | bb7e3e9617238ad1219741568eadf67ea460748c | |
| parent | cc311d2bbb82175d36ecb8b8103261b00e9ee0f6 (diff) | |
| download | emacs-bd31028ffc2cc49dbc5f535b4a80a8894252364f.tar.gz emacs-bd31028ffc2cc49dbc5f535b4a80a8894252364f.zip | |
(reftex-what-macro): Don't assume that point-min == 1.
| -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 @@ | |||
| 1 | ;;; reftex-parse.el --- parser functions for RefTeX | 1 | ;;; reftex-parse.el --- parser functions for RefTeX |
| 2 | ;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc. | 2 | ;; Copyright (c) 1997, 1998, 1999, 2000, 2003 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | ;; Author: Carsten Dominik <dominik@science.uva.nl> | 4 | ;; Author: Carsten Dominik <dominik@science.uva.nl> |
| 5 | ;; Version: 4.18 | 5 | ;; Version: 4.18 |
| @@ -773,7 +773,7 @@ of master file." | |||
| 773 | pos cmd-list cmd cnt cnt-opt entry) | 773 | pos cmd-list cmd cnt cnt-opt entry) |
| 774 | (save-restriction | 774 | (save-restriction |
| 775 | (save-excursion | 775 | (save-excursion |
| 776 | (narrow-to-region (max 1 bound) (point-max)) | 776 | (narrow-to-region (max (point-min) bound) (point-max)) |
| 777 | ;; move back out of the current parenthesis | 777 | ;; move back out of the current parenthesis |
| 778 | (while (condition-case nil | 778 | (while (condition-case nil |
| 779 | (progn (up-list -1) t) | 779 | (progn (up-list -1) t) |