diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-11-17 07:04:22 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-11-17 07:04:22 +0100 |
commit | e72061c262226bbacaa11457d3014ef148185bf3 (patch) | |
tree | a731a2a780d9d683c33e2546ed8bced9209fe22e /lisp | |
parent | 9e79575486fb6aeb0deb23e17cb2ce9ec02b5fd7 (diff) | |
download | emacs-e72061c262226bbacaa11457d3014ef148185bf3.tar.gz |
Fix bookmark-bmenu-mode-map syntax
* lisp/bookmark.el (bookmark-bmenu-mode-map): Fix syntax in defvar-keymap.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/bookmark.el | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lisp/bookmark.el b/lisp/bookmark.el index 5176d7aa8d2..89c9125a60d 100644 --- a/lisp/bookmark.el +++ b/lisp/bookmark.el @@ -812,7 +812,7 @@ CODING is the symbol of the coding-system in which the file is encoded." (defvar-keymap bookmark-minibuffer-read-name-map :parent minibuffer-local-map - ["C-w"] #'bookmark-yank-word) + "C-w" #'bookmark-yank-word) (defun bookmark-set-internal (prompt name overwrite-or-push) "Set a bookmark using specified NAME or prompting with PROMPT. @@ -990,7 +990,7 @@ It takes one argument, the name of the bookmark, as a string.") (defvar-keymap bookmark-edit-annotation-mode-map :doc "Keymap for editing an annotation of a bookmark." :parent text-mode-map - ["C-c C-c"] #'bookmark-send-edited-annotation) + "C-c C-c" #'bookmark-send-edited-annotation) (defun bookmark-insert-annotation (bookmark-name-or-record) "Insert annotation for BOOKMARK-NAME-OR-RECORD at point." @@ -1702,20 +1702,20 @@ unique numeric suffixes \"<2>\", \"<3>\", etc." "2" #'bookmark-bmenu-2-window "1" #'bookmark-bmenu-1-window "j" #'bookmark-bmenu-this-window - ["C-c C-c"] #'bookmark-bmenu-this-window + "C-c C-c" #'bookmark-bmenu-this-window "f" #'bookmark-bmenu-this-window - ["C-m"] #'bookmark-bmenu-this-window + "C-m" #'bookmark-bmenu-this-window "o" #'bookmark-bmenu-other-window - ["C-o"] #'bookmark-bmenu-switch-other-window + "C-o" #'bookmark-bmenu-switch-other-window "s" #'bookmark-bmenu-save - ["C-x C-s"] #'bookmark-bmenu-save + "C-x C-s" #'bookmark-bmenu-save "k" #'bookmark-bmenu-delete - ["C-d"] #'bookmark-bmenu-delete-backwards + "C-d" #'bookmark-bmenu-delete-backwards "x" #'bookmark-bmenu-execute-deletions "d" #'bookmark-bmenu-delete "D" #'bookmark-bmenu-delete-all - [? ] #'next-line - "\177" #'bookmark-bmenu-backup-unmark + "SPC" #'next-line + "DEL" #'bookmark-bmenu-backup-unmark "u" #'bookmark-bmenu-unmark "U" #'bookmark-bmenu-unmark-all "m" #'bookmark-bmenu-mark @@ -1728,7 +1728,7 @@ unique numeric suffixes \"<2>\", \"<3>\", etc." "A" #'bookmark-bmenu-show-all-annotations "e" #'bookmark-bmenu-edit-annotation "/" #'bookmark-bmenu-search - [mouse-2] #'bookmark-bmenu-other-window-with-mouse) + "<mouse-2>" #'bookmark-bmenu-other-window-with-mouse) (easy-menu-define bookmark-menu bookmark-bmenu-mode-map "Menu for `bookmark-bmenu'." |