branch: externals/embark
commit 9e2d2a22e516f2e374c97e6099f51888f04bfc83
Author: Omar Antolín <omar.anto...@gmail.com>
Commit: Omar Antolín <omar.anto...@gmail.com>

    Treat all commands ending in self-insert-command the same
---
 embark.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/embark.el b/embark.el
index ee8534b871..6786b648a4 100644
--- a/embark.el
+++ b/embark.el
@@ -1261,7 +1261,8 @@ UPDATE is the indicator update function."
                                                     ; bound, then obey
                 (and def (not (numberp def))))) ; number means "invalid prefix"
        cmd)
-      ((or 'self-insert-command 'org-self-insert-command)
+      ((and (pred symbolp)
+            (guard (string-suffix-p "self-insert-command" (symbol-name cmd))))
        (minibuffer-message "Not an action")
        (embark-keymap-prompter keymap update))
       ((or 'scroll-other-window 'scroll-other-window-down)

Reply via email to