mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
(reftex-what-macro): Don't assume that point-min == 1.
This commit is contained in:
parent
cc311d2bbb
commit
bd31028ffc
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user