branch: elpa/meow
commit 74fc0e50e9873d4823890a0173c482eaaeeb3bde
Author: jixiuf <[email protected]>
Commit: GitHub <[email protected]>
Fix documentation string in meow--parse-def (#682)
Updated the documentation string in the `meow--parse-def` function to use
`buttonize` for better
context. This change improves the clarity of the message displayed when
executing commands bound to
a key, ensuring it correctly reflects the keybinding being used.
---
meow-util.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meow-util.el b/meow-util.el
index 075b49fe32..11925f2e80 100644
--- a/meow-util.el
+++ b/meow-util.el
@@ -537,7 +537,7 @@ that bound to DEF. Otherwise, return DEF."
(defalias cmd-name
(lambda ()
(:documentation
- (format "Execute the command which is bound to %s." def))
+ (format "Execute the command which is bound to %s." (buttonize
def 'describe-key (kbd def))))
(interactive)
(meow--execute-kbd-macro def)))
(put cmd-name 'meow-dispatch def)