# HG changeset patch # User Richard M. Stallman # Date 1104165719 0 # Node ID 55f8ffb8e5237a54ae0948e903789484713e19bc # Parent 38f1d5865861e738dd21e127b68d12a732bd288a (bookmark-jump): Nice error if BOOKMARK is nil. diff -r 38f1d5865861 -r 55f8ffb8e523 lisp/bookmark.el --- a/lisp/bookmark.el Mon Dec 27 16:40:50 2004 +0000 +++ b/lisp/bookmark.el Mon Dec 27 16:41:59 2004 +0000 @@ -1049,6 +1049,8 @@ (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