emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/transient 617844abe5 121/366: transient-undefined: Also


From: Jonas Bernoulli
Subject: [elpa] externals/transient 617844abe5 121/366: transient-undefined: Also show the command
Date: Tue, 25 Jan 2022 18:54:33 -0500 (EST)

branch: externals/transient
commit 617844abe567d55a429af561c2330ffe134fbc02
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    transient-undefined: Also show the command
---
 lisp/transient.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lisp/transient.el b/lisp/transient.el
index bda056381c..783776fbd4 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -1870,11 +1870,12 @@ to `transient--do-warn'."
   "Warn the user that the pressed key is not bound to any suffix."
   (interactive)
   (ding)
-  (message "Unbound suffix: `%s' (Use `%s' to abort, `%s' for help)"
+  (message "Unbound suffix: `%s' (Use `%s' to abort, `%s' for help) [%s]"
            (propertize (key-description (this-single-command-keys))
                        'face 'font-lock-warning-face)
            (propertize "C-g" 'face 'transient-key)
-           (propertize "?"   'face 'transient-key)))
+           (propertize "?"   'face 'transient-key)
+           this-original-command))
 
 (defun transient-toggle-common ()
   "Toggle whether common commands are always shown."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]