aboutsummaryrefslogtreecommitdiff
path: root/sx-button.el
diff options
context:
space:
mode:
Diffstat (limited to 'sx-button.el')
-rw-r--r--sx-button.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/sx-button.el b/sx-button.el
index 2dd20d0..8309543 100644
--- a/sx-button.el
+++ b/sx-button.el
@@ -151,6 +151,13 @@ usually part of a code-block."
'action #'sx-button-follow-link
:supertype 'sx-button)
+(define-button-type 'sx-button-user
+ 'action #'sx-button-follow-link
+ 'help-echo sx-button--user-help-echo
+ ;; We use different faces on diferent parts of the user button.
+ 'face nil
+ :supertype 'sx-button)
+
(define-button-type 'sx-button-comment
'help-echo (concat "mouse-1, RET"
(propertize ": write a comment"