1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 15:21:51 -08:00

Add MESSAGE string to bookmark-errors (bug#23408)

* lisp/bookmark.el (bookmark-errors): Add MESSAGE parameter string.
This commit is contained in:
Stefan Kangas 2019-06-12 18:42:46 +02:00 committed by Noam Postavsky
parent caff1e2abe
commit cdd8cb3a9e

View file

@ -1163,7 +1163,8 @@ then offer interactively to relocate BOOKMARK-NAME-OR-RECORD."
(setq bookmark-current-bookmark bookmark-name-or-record))
nil)
(define-error 'bookmark-errors nil)
(define-error 'bookmark-errors
"Bookmark error")
(define-error 'bookmark-error-no-filename
"Bookmark has no associated file (or directory)" 'bookmark-errors)