(Info-dir-remove-duplicates): Avoid infloop when

deleting last entry.
This commit is contained in:
John Paul Wallington 2002-12-18 05:16:09 +00:00
parent 7443bd8e6b
commit 2504650303
2 changed files with 6 additions and 1 deletions

View 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

View 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