emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 51013d328c: Crosslink some buttonize function doc strings


From: Lars Ingebrigtsen
Subject: master 51013d328c: Crosslink some buttonize function doc strings
Date: Sat, 16 Apr 2022 10:59:57 -0400 (EDT)

branch: master
commit 51013d328c36668410e03d55060059576e286a98
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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 797ef12031..244201be2d 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]