Commit 5d8d3a34 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(bookmark-jump): Nice error if BOOKMARK is nil.

parent f4c4fc74
......@@ -1049,6 +1049,8 @@ of the old one in the permanent bookmark record."
(list (bookmark-completing-read "Jump to bookmark"
(unless bookmark
(error "No bookmark specified"))
(bookmark-maybe-historicize-string bookmark)
(let ((cell (bookmark-jump-noselect bookmark)))
(and cell
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment