# HG changeset patch # User Stefan Monnier # Date 1284989279 -7200 # Node ID 6cf93d8fc391153d852ceef15f89638f85fb6ab5 # Parent f6272822d94c0fe36b8f4a1dbeec3f7ca8ec7881 * lisp/textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode point-min==1. diff -r f6272822d94c -r 6cf93d8fc391 lisp/ChangeLog --- a/lisp/ChangeLog Mon Sep 20 13:53:42 2010 +0200 +++ b/lisp/ChangeLog Mon Sep 20 15:27:59 2010 +0200 @@ -1,5 +1,8 @@ 2010-09-20 Stefan Monnier + * 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. diff -r f6272822d94c -r 6cf93d8fc391 lisp/textmodes/reftex-parse.el --- a/lisp/textmodes/reftex-parse.el Mon Sep 20 13:53:42 2010 +0200 +++ b/lisp/textmodes/reftex-parse.el Mon Sep 20 15:27:59 2010 +0200 @@ -775,7 +775,7 @@ 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)