summaryrefslogtreecommitdiff
path: root/lisp/button.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-04-16 16:59:41 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-04-16 16:59:41 +0200
commit51013d328c36668410e03d55060059576e286a98 (patch)
tree4699181e16f7af622a337918c713fbd6decd99a0 /lisp/button.el
parentd1bc95b3a4ab4ddfcb8c97104e1a2dbb306ea515 (diff)
downloademacs-51013d328c36668410e03d55060059576e286a98.tar.gz
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.el8
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)