diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-01-15 22:02:41 -0200 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-01-15 22:02:41 -0200 |
commit | feb8082bac11154d4f6cc768add49bd9b7c0c107 (patch) | |
tree | 48d3154d5e91f3a4b9bfba955bb7de51acec5db1 /sx-tag.el | |
parent | 2fd860b5a17fe3f8b7bc3759a79bb7a2ae343bf2 (diff) |
Turn tags into buttons
Diffstat (limited to 'sx-tag.el')
-rw-r--r-- | sx-tag.el | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -137,7 +137,12 @@ tags." ;;; Printing (defun sx-tag--format (tag) "Formats TAG for display." - (concat "[" tag "]")) + (with-temp-buffer + (insert-text-button (concat "[" tag "]") + 'sx-button-copy tag + 'sx-tag tag + :type 'sx-button-tag) + (buffer-string))) (provide 'sx-tag) ;;; sx-tag.el ends here |