branch: externals/embark
commit 18d0e3f94bd325c422f3fca4279ac91f979576a1
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    Add :keys to menu-item
---
 embark.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/embark.el b/embark.el
index 027f839b9c..571fa5033c 100644
--- a/embark.el
+++ b/embark.el
@@ -1155,6 +1155,7 @@ added to `eldoc-documentation-functions'."
                         (interactive)
                         (mouse-set-point event)
                         (embark-act))
+                     :keys "\\[embark-act]"
                      :help ,(format "Act on %s ‘%s’" type target)))
       (when (and action (symbolp action))
         (define-key menu [embark-dwim]
@@ -1163,6 +1164,7 @@ added to `eldoc-documentation-functions'."
                           (interactive)
                           (mouse-set-point event)
                           (embark-dwim))
+                       :keys "\\[embark-dwim]"
                        :help ,(format "Run ‘%s’ on %s ‘%s’"
                                       action type target))))))
   menu)

Reply via email to