]> git.eshelyaron.com Git - emacs.git/commit
Further improve button.el support for help-echo
authorBasil L. Contovounesios <contovob@tcd.ie>
Thu, 26 Sep 2019 23:04:33 +0000 (00:04 +0100)
committerBasil L. Contovounesios <contovob@tcd.ie>
Thu, 3 Oct 2019 22:05:14 +0000 (23:05 +0100)
commit0fc8177414801e428ca184e8a9ba8b79a291c15a
tree7ed7df57104eee1e0beaa6074efba73670adf3b0
parent660d509acd9da23d9795b5aaa12a5453e6c61bbd
Further improve button.el support for help-echo

The last change to forward-button added support for help-echo values
that are functions.  This patch fixes the arguments passed to such
functions and further adds support for help-echo values that are
forms (bug#37515).
* doc/lispref/display.texi (Button Properties): Fix description of
help-echo button property.
* lisp/button.el (button--help-echo): New function.
(forward-button): Use it.
(backward-button): Clarify help-echo reference in docstring.
* test/lisp/button-tests.el (button--help-echo-string)
(button--help-echo-form, button--help-echo-function): New tests.
doc/lispref/display.texi
lisp/button.el
test/lisp/button-tests.el