From 51013d328c36668410e03d55060059576e286a98 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 16 Apr 2022 16:59:41 +0200 Subject: [PATCH] Crosslink some buttonize function doc strings * lisp/button.el (buttonize-region, buttonize): Crosslink doc strings for discoverability. --- lisp/button.el | 8 ++++++-- 1 file 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) -- 2.39.5