* lisp/textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode

point-min==1.
This commit is contained in:
Stefan Monnier 2010-09-20 15:27:59 +02:00
parent 94eb3112c5
commit de558d10c2
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
* textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
point-min==1.
* textmodes/ispell.el: Fix commenting convention.
(ispell-parse-output): Simplify, use push.
(ispell-region): Use match-string-no-properties.

View file

@ -775,7 +775,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)