aboutsummaryrefslogtreecommitdiff
path: root/sx-tag.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-01-15 20:04:24 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-01-15 20:04:24 -0200
commit2ee72cc4361031f3ab34e312fca191125ce18bfc (patch)
treebb17250a37f82a7f6356000862f21e93b518eff0 /sx-tag.el
parent22f86c35499f994f0eb7532b8eb27b0d990d889d (diff)
Move tag-format to sx-tag.el
Diffstat (limited to 'sx-tag.el')
-rw-r--r--sx-tag.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/sx-tag.el b/sx-tag.el
index b2ad375..d69f330 100644
--- a/sx-tag.el
+++ b/sx-tag.el
@@ -133,6 +133,12 @@ tags."
(push input list))
(reverse list)))
+
+;;; Printing
+(defun sx-tag--format (tag)
+ "Formats TAG for display."
+ (concat "[" tag "]"))
+
(provide 'sx-tag)
;;; sx-tag.el ends here