From: Stefan Kangas Date: Wed, 12 Jun 2019 16:42:46 +0000 (+0200) Subject: Add MESSAGE string to bookmark-errors (bug#23408) X-Git-Tag: emacs-27.0.90~2488 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cdd8cb3a9e18f87da31e52236fd2c4ebfcd676bd;p=emacs.git Add MESSAGE string to bookmark-errors (bug#23408) * lisp/bookmark.el (bookmark-errors): Add MESSAGE parameter string. --- diff --git a/lisp/bookmark.el b/lisp/bookmark.el index 50c7bdf8ca2..49abc9e6550 100644 --- a/lisp/bookmark.el +++ b/lisp/bookmark.el @@ -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)