mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(bookmark-jump): Nice error if BOOKMARK is nil.
This commit is contained in:
parent
f4c4fc7494
commit
5d8d3a34e5
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue