]> git.eshelyaron.com Git - emacs.git/commitdiff
(occur): Stop at end of buffer.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 13 Feb 2001 20:08:37 +0000 (20:08 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 13 Feb 2001 20:08:37 +0000 (20:08 +0000)
lisp/ChangeLog
lisp/replace.el

index 6d5fd52dc7391e2f3fb85db3785d457ad43f11ef..cf30661e53cc0be56b0bd3974318a3c522024dbb 100644 (file)
@@ -1,3 +1,7 @@
+2001-02-13  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * replace.el (occur): Stop at end of buffer.
+
 2001-02-13  Eli Zaretskii  <eliz@is.elta.co.il>
 
        * international/mule-cmds.el (set-input-method): Another doc fix.
 2000-12-11  Carsten Dominik  <dominik@strw.leidenuniv.nl>
 
        * progmodes/idlwave.el: Updated to IDLWAVE version 4.7.  Too many
-       changes to list them here.
+       changes to list them here.
 
        * progmodes/idlw-shell.el: Updated to IDLWAVE version 4.7.  Too
        many changes to list them here.
 2000-12-10  Carsten Dominik  <dominik@strw.leidenuniv.nl>
 
        * textmodes/reftex.el (reftex-scanning-info-available-p): New
-       function
+       function
        (reftex-TeX-master-file): Check for `tex-main-file' early enough.
 
        * textmodes/reftex-global.el (reftex-create-tags-file): Fixed bug
index 2a0735cfe5a4ac7ca4feaa0c8a60be9617e33962..469133db8de617992ca3438a1d80c3aeaa6e7957 100644 (file)
@@ -623,7 +623,7 @@ the matching is case-sensitive."
              (goto-char (point-max)))
          (save-excursion
            ;; Find next match, but give up if prev match was at end of buffer.
-           (while (and (not (= prevpos (point-max)))
+           (while (and (not (eobp))
                        (re-search-forward regexp nil t))
              (goto-char (match-beginning 0))
              (beginning-of-line)