]> git.eshelyaron.com Git - emacs.git/commitdiff
(Info-dir-remove-duplicates): Avoid infloop when
authorJohn Paul Wallington <jpw@pobox.com>
Wed, 18 Dec 2002 05:16:09 +0000 (05:16 +0000)
committerJohn Paul Wallington <jpw@pobox.com>
Wed, 18 Dec 2002 05:16:09 +0000 (05:16 +0000)
deleting last entry.

lisp/ChangeLog
lisp/info.el

index 1ea289e4273433b3bf692087c6b2c4514f2caa68..16a98504acae55980d857f034360cdcd8f0f7df7 100644 (file)
@@ -1,3 +1,8 @@
+2002-12-18  John Paul Wallington  <jpw@shootybangbang.com>
+
+       * info.el (Info-dir-remove-duplicates): Avoid infloop when
+       deleting last entry.
+
 2002-12-17  Nick Roberts  <nick@nick.uklinux.net>
 
        * gdb-ui.el (gdba-marker-filter, gdb-output-burst): Merge and
index 53630bce3a3f03a25a7e414d2706de088c9b20d5..05a56ef1c92db232f48f708d7576841175e1331b 100644 (file)
@@ -967,7 +967,7 @@ a case-insensitive match is tried."
                (if (member-ignore-case x seen)
                    (delete-region (match-beginning 0)
                                   (progn (re-search-forward "^[^ \t]" nil t)
-                                         (goto-char (match-beginning 0))))
+                                         (match-beginning 0)))
                  (push x seen))))))))))
 
 ;; Note that on entry to this function the current-buffer must be the