diff options
Diffstat (limited to 'sx-button.el')
-rw-r--r-- | sx-button.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sx-button.el b/sx-button.el index 194c292..05ebadb 100644 --- a/sx-button.el +++ b/sx-button.el @@ -185,6 +185,14 @@ usually part of a code-block." 'action #'sx-comment :supertype 'sx-button) +(define-button-type 'sx-button-accept + 'help-echo (concat "mouse-1, RET" + (propertize ": accept answer" + 'face 'minibuffer-prompt)) + 'face 'sx-custom-button + 'action #'sx-accept + :supertype 'sx-button) + (define-button-type 'sx-button-answer 'help-echo (concat "mouse-1, RET" (propertize ": write an answer" |