mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
(bookmark-jump): Nice error if BOOKMARK is nil.
This commit is contained in:
parent
f4c4fc7494
commit
5d8d3a34e5
@ -1049,6 +1049,8 @@ of the old one in the permanent bookmark record."
|
||||
(interactive
|
||||
(list (bookmark-completing-read "Jump to bookmark"
|
||||
bookmark-current-bookmark)))
|
||||
(unless bookmark
|
||||
(error "No bookmark specified"))
|
||||
(bookmark-maybe-historicize-string bookmark)
|
||||
(let ((cell (bookmark-jump-noselect bookmark)))
|
||||
(and cell
|
||||
|
Loading…
Reference in New Issue
Block a user