projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
beaab89
)
* lisp/bookmark.el (bookmark-bmenu-goto-bookmark): Don't inf-loop.
author
Boruch Baum
<boruch_baum@gmx.com>
Thu, 9 Apr 2015 15:07:15 +0000
(11:07 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Thu, 9 Apr 2015 15:07:15 +0000
(11:07 -0400)
Fixes: debbugs:20212
lisp/bookmark.el
patch
|
blob
|
history
diff --git
a/lisp/bookmark.el
b/lisp/bookmark.el
index dc8057e6e0d00b8f99312485aeef97907596d376..4baf00b647b600f97bf6e35e47e93326d5721f6c 100644
(file)
--- a/
lisp/bookmark.el
+++ b/
lisp/bookmark.el
@@
-2064,7
+2064,8
@@
To carry out the deletions that you've marked, use \\<bookmark-bmenu-mode-map>\\
(defun bookmark-bmenu-goto-bookmark (name)
"Move point to bookmark with name NAME."
(goto-char (point-min))
- (while (not (equal name (bookmark-bmenu-bookmark)))
+ (while (not (or (equal name (bookmark-bmenu-bookmark))
+ (eobp)))
(forward-line 1))
(forward-line 0))