diff options
author | Sacha Chua <sacha@sachachua.com> | 2023-02-07 17:35:14 -0500 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2023-02-07 17:35:14 -0500 |
commit | b8a8106815be52cfb3b8cef7a6b4f55bc5b26a3a (patch) | |
tree | 959c13ef2db52a62f1a891a59c28672072253b8b | |
parent | f35b4cb7ed6e0e01b9eed71f6a7a5f86a7a6030b (diff) | |
download | emacsconf-el-b8a8106815be52cfb3b8cef7a6b4f55bc5b26a3a.tar.xz emacsconf-el-b8a8106815be52cfb3b8cef7a6b4f55bc5b26a3a.zip |
Use defvar-keymap instead of embark-define-keymap
-rw-r--r-- | emacsconf.el | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/emacsconf.el b/emacsconf.el index 39fe642..46c2b0c 100644 --- a/emacsconf.el +++ b/emacsconf.el @@ -894,22 +894,22 @@ (with-eval-after-load 'embark (add-to-list 'embark-target-finders 'emacsconf-embark-finder) - (embark-define-keymap embark-emacsconf-actions - "Keymap for emacsconference-related things" - ("a" emacsconf-announce) - ("c" emacsconf-find-captions-from-slug) - ("d" emacsconf-find-caption-directives-from-slug) - ("p" emacsconf-set-property-from-slug) - ("w" emacsconf-edit-wiki-page) - ("s" emacsconf-set-start-time-for-slug) - ("W" emacsconf-browse-wiki-page) - ("u" emacsconf-update-talk) - ("it" emacsconf-insert-talk-title) - ("m" emacsconf-mail-speaker-from-slug) - ("n" emacsconf-notmuch-search-mail-from-entry) - ("f" org-forward-heading-same-level) - ("b" org-backward-heading-same-level) - ("RET" emacsconf-go-to-talk)) + (defvar-keymap embark-emacsconf-actions + :doc "Keymap for emacsconference-related things" + "a" #'emacsconf-announce + "c" #'emacsconf-find-captions-from-slug + "d" #'emacsconf-find-caption-directives-from-slug + "p" #'emacsconf-set-property-from-slug + "w" #'emacsconf-edit-wiki-page + "s" #'emacsconf-set-start-time-for-slug + "W" #'emacsconf-browse-wiki-page + "u" #'emacsconf-update-talk + "t" #'emacsconf-insert-talk-title + "m" #'emacsconf-mail-speaker-from-slug + "n" #'emacsconf-notmuch-search-mail-from-entry + "f" #'org-forward-heading-same-level + "b" #'org-backward-heading-same-level + "RET" #'emacsconf-go-to-talk) (add-to-list 'embark-keymap-alist '(emacsconf . embark-emacsconf-actions))) ;;; Status updates |