From: Lars Ingebrigtsen Date: Sat, 16 Apr 2022 14:59:41 +0000 (+0200) Subject: Crosslink some buttonize function doc strings X-Git-Tag: emacs-29.0.90~1931^2~520 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=51013d328c36668410e03d55060059576e286a98;p=emacs.git Crosslink some buttonize function doc strings * lisp/button.el (buttonize-region, buttonize): Crosslink doc strings for discoverability. --- 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)