[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r101506: * lisp/textmodes/reftex-pars
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r101506: * lisp/textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode |
Date: |
Mon, 20 Sep 2010 15:27:59 +0200 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 101506
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Mon 2010-09-20 15:27:59 +0200
message:
* lisp/textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
point-min==1.
modified:
lisp/ChangeLog
lisp/textmodes/reftex-parse.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2010-09-20 11:53:42 +0000
+++ b/lisp/ChangeLog 2010-09-20 13:27:59 +0000
@@ -1,5 +1,8 @@
2010-09-20 Stefan Monnier <address@hidden>
+ * 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.
=== modified file 'lisp/textmodes/reftex-parse.el'
--- a/lisp/textmodes/reftex-parse.el 2010-08-29 16:17:13 +0000
+++ b/lisp/textmodes/reftex-parse.el 2010-09-20 13:27:59 +0000
@@ -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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r101506: * lisp/textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode,
Stefan Monnier <=