From e136244f77fa45a0c4abcad1649db389a2757be2 Mon Sep 17 00:00:00 2001 From: jixiuf Date: Sat, 30 Nov 2024 18:26:26 +0800 Subject: [PATCH] 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 9b3f51e..eb93fc3 100644 --- a/meow-util.el +++ b/meow-util.el @@ -543,7 +543,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)