aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorStefan Monnier2010-09-20 15:27:59 +0200
committerStefan Monnier2010-09-20 15:27:59 +0200
commitde558d10c284d496921ee6a2c53274fa883f4770 (patch)
treeb9693f101db65240fa6debe9f3ffc63d25942fa8 /lisp/textmodes
parent94eb3112c5eb822c2fe5968924f80fd0bc5e716b (diff)
downloademacs-de558d10c284d496921ee6a2c53274fa883f4770.tar.gz
emacs-de558d10c284d496921ee6a2c53274fa883f4770.zip
* lisp/textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
point-min==1.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/reftex-parse.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/reftex-parse.el b/lisp/textmodes/reftex-parse.el
index 58aaaa47a38..4854ca7ba3b 100644
--- a/lisp/textmodes/reftex-parse.el
+++ b/lisp/textmodes/reftex-parse.el
@@ -775,7 +775,7 @@ of master file."
775 pos cmd-list cmd cnt cnt-opt entry) 775 pos cmd-list cmd cnt cnt-opt entry)
776 (save-restriction 776 (save-restriction
777 (save-excursion 777 (save-excursion
778 (narrow-to-region (max 1 bound) (point-max)) 778 (narrow-to-region (max (point-min) bound) (point-max))
779 ;; move back out of the current parenthesis 779 ;; move back out of the current parenthesis
780 (while (condition-case nil 780 (while (condition-case nil
781 (progn (up-list -1) t) 781 (progn (up-list -1) t)