• Basil L. Contovounesios's avatar
    Further improve button.el support for help-echo · 0fc81774
    Basil L. Contovounesios authored
    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.
    0fc81774
display.texi 328 KB