aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2010-09-20 15:27:59 +0200
committerStefan Monnier2010-09-20 15:27:59 +0200
commitde558d10c284d496921ee6a2c53274fa883f4770 (patch)
treeb9693f101db65240fa6debe9f3ffc63d25942fa8
parent94eb3112c5eb822c2fe5968924f80fd0bc5e716b (diff)
downloademacs-de558d10c284d496921ee6a2c53274fa883f4770.tar.gz
emacs-de558d10c284d496921ee6a2c53274fa883f4770.zip
* lisp/textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
point-min==1.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/textmodes/reftex-parse.el2
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index eb85c0dc262..d73f03a2cf1 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12010-09-20 Stefan Monnier <monnier@iro.umontreal.ca> 12010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
4 point-min==1.
5
3 * textmodes/ispell.el: Fix commenting convention. 6 * textmodes/ispell.el: Fix commenting convention.
4 (ispell-parse-output): Simplify, use push. 7 (ispell-parse-output): Simplify, use push.
5 (ispell-region): Use match-string-no-properties. 8 (ispell-region): Use match-string-no-properties.
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)