Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix documentation string in meow--parse-def #682

Merged
merged 1 commit into from
Nov 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix documentation string in meow--parse-def
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.
  • Loading branch information
jixiuf committed Nov 30, 2024
commit 3b16770645ba5ef5163a50c7aceb5f58b443d4f7
2 changes: 1 addition & 1 deletion meow-util.el
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@
(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))))

Check failure on line 540 in meow-util.el

View workflow job for this annotation

GitHub Actions / check (27.1, true)

You should depend on (emacs "29.1") or the compat package if you need `buttonize'.

Check warning on line 540 in meow-util.el

View workflow job for this annotation

GitHub Actions / check (28.2, true)

the function ‘buttonize’ is not known to be defined.

Check failure on line 540 in meow-util.el

View workflow job for this annotation

GitHub Actions / check (28.2, true)

You should depend on (emacs "29.1") or the compat package if you need `buttonize'.

Check failure on line 540 in meow-util.el

View workflow job for this annotation

GitHub Actions / check (26.3, true)

You should depend on (emacs "29.1") or the compat package if you need `buttonize'.
(interactive)
(meow--execute-kbd-macro def)))
(put cmd-name 'meow-dispatch def)
Expand Down Expand Up @@ -721,3 +721,3 @@

(provide 'meow-util)
;;; meow-util.el ends here
Loading