diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-01-15 21:57:03 -0200 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-01-15 21:57:03 -0200 |
commit | 2fd860b5a17fe3f8b7bc3759a79bb7a2ae343bf2 (patch) | |
tree | 0f5e1a4e1554f9748b229581a4675dbed3775fc2 /sx-button.el | |
parent | c08dc31400711fbebea2c7ca650bd72dc3f92392 (diff) |
Define button-tag
Diffstat (limited to 'sx-button.el')
-rw-r--r-- | sx-button.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sx-button.el b/sx-button.el index 5a2f052..69e8a7e 100644 --- a/sx-button.el +++ b/sx-button.el @@ -158,6 +158,13 @@ usually part of a code-block." 'face 'sx-user-name :supertype 'sx-button) +(declare-function sx-search-tag-at-point "sx-tag") +(define-button-type 'sx-button-tag + 'action #'sx-search-tag-at-point + 'help-echo sx-button--tag-help-echo + 'face 'sx-tag + :supertype 'sx-button) + (define-button-type 'sx-button-comment 'help-echo (concat "mouse-1, RET" (propertize ": write a comment" |