]> git.eshelyaron.com Git - emacs.git/commit
Substitute command keys in button help-echo values
authorBasil L. Contovounesios <contovob@tcd.ie>
Fri, 16 Oct 2020 07:32:48 +0000 (09:32 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 16 Oct 2020 07:32:48 +0000 (09:32 +0200)
commita950a6e6cf8dafc40acc1e32cc6fd62d515bb52d
treea42636218f46c62240e79bbb4fe07a47864a948b
parent1e89dfc6c8bcab8b64ded08e8d42e32929189799
Substitute command keys in button help-echo values

* lisp/button.el (button--help-echo): Pass resulting string through
substitute-command-keys for consistency with show-help-function.
* test/lisp/button-tests.el (button-tests--map): New test keymap.
(button--help-echo-string, button--help-echo-form)
(button--help-echo-function): Use it to test command key
substitution in help-echo strings (bug#43070).
lisp/button.el
test/lisp/button-tests.el