diff options
| author | Stefan Kangas | 2019-06-12 18:42:46 +0200 |
|---|---|---|
| committer | Noam Postavsky | 2019-06-15 17:08:58 -0400 |
| commit | cdd8cb3a9e18f87da31e52236fd2c4ebfcd676bd (patch) | |
| tree | 1a3b127b11374c7f131a0a3f1410cb4e321a0bba | |
| parent | caff1e2abea8476741e0ad07cb46a62536c0194c (diff) | |
| download | emacs-cdd8cb3a9e18f87da31e52236fd2c4ebfcd676bd.tar.gz emacs-cdd8cb3a9e18f87da31e52236fd2c4ebfcd676bd.zip | |
Add MESSAGE string to bookmark-errors (bug#23408)
* lisp/bookmark.el (bookmark-errors): Add MESSAGE parameter string.
| -rw-r--r-- | lisp/bookmark.el | 3 |
1 files changed, 2 insertions, 1 deletions
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." | |||
| 1163 | (setq bookmark-current-bookmark bookmark-name-or-record)) | 1163 | (setq bookmark-current-bookmark bookmark-name-or-record)) |
| 1164 | nil) | 1164 | nil) |
| 1165 | 1165 | ||
| 1166 | (define-error 'bookmark-errors nil) | 1166 | (define-error 'bookmark-errors |
| 1167 | "Bookmark error") | ||
| 1167 | (define-error 'bookmark-error-no-filename | 1168 | (define-error 'bookmark-error-no-filename |
| 1168 | "Bookmark has no associated file (or directory)" 'bookmark-errors) | 1169 | "Bookmark has no associated file (or directory)" 'bookmark-errors) |
| 1169 | 1170 | ||