aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/bookmark.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/bookmark.el b/lisp/bookmark.el
index b25c261c1e7..949434baffb 100644
--- a/lisp/bookmark.el
+++ b/lisp/bookmark.el
@@ -1049,6 +1049,8 @@ of the old one in the permanent bookmark record."
1049 (interactive 1049 (interactive
1050 (list (bookmark-completing-read "Jump to bookmark" 1050 (list (bookmark-completing-read "Jump to bookmark"
1051 bookmark-current-bookmark))) 1051 bookmark-current-bookmark)))
1052 (unless bookmark
1053 (error "No bookmark specified"))
1052 (bookmark-maybe-historicize-string bookmark) 1054 (bookmark-maybe-historicize-string bookmark)
1053 (let ((cell (bookmark-jump-noselect bookmark))) 1055 (let ((cell (bookmark-jump-noselect bookmark)))
1054 (and cell 1056 (and cell