diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-04-16 16:59:41 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-04-16 16:59:41 +0200 |
commit | 51013d328c36668410e03d55060059576e286a98 (patch) | |
tree | 4699181e16f7af622a337918c713fbd6decd99a0 /lisp/button.el | |
parent | d1bc95b3a4ab4ddfcb8c97104e1a2dbb306ea515 (diff) | |
download | emacs-51013d328c36668410e03d55060059576e286a98.tar.gz emacs-51013d328c36668410e03d55060059576e286a98.tar.bz2 emacs-51013d328c36668410e03d55060059576e286a98.zip |
Crosslink some buttonize function doc strings
* lisp/button.el (buttonize-region, buttonize): Crosslink doc
strings for discoverability.
Diffstat (limited to 'lisp/button.el')
-rw-r--r-- | lisp/button.el | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/button.el b/lisp/button.el index 797ef120316..244201be2d0 100644 --- a/lisp/button.el +++ b/lisp/button.el @@ -620,7 +620,9 @@ When clicked, CALLBACK will be called with the DATA as the function argument. If DATA isn't present (or is nil), the button itself will be used instead as the function argument. -If HELP-ECHO, use that as the `help-echo' property." +If HELP-ECHO, use that as the `help-echo' property. + +Also see `buttonize-region'." (apply #'propertize string (button--properties callback data help-echo))) @@ -642,7 +644,9 @@ When clicked, CALLBACK will be called with the DATA as the function argument. If DATA isn't present (or is nil), the button itself will be used instead as the function argument. -If HELP-ECHO, use that as the `help-echo' property." +If HELP-ECHO, use that as the `help-echo' property. + +Also see `buttonize'." (add-text-properties start end (button--properties callback data help-echo))) (provide 'button) |