aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-01-06 19:28:15 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-01-06 19:28:15 -0200
commitd49e720b6961ea005cdb26e4191b6f51384253ac (patch)
tree17a1c0774508aff459df147c61daeb425f3bfb5e
parent023b5511df15df4289783a8701fec2bed95462f1 (diff)
sx-search: Use concat instead of format
-rw-r--r--sx-search.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/sx-search.el b/sx-search.el
index 8614f49..fa08e56 100644
--- a/sx-search.el
+++ b/sx-search.el
@@ -83,7 +83,7 @@ prefix argument, the user is asked for everything."
(setq query nil))
(when current-prefix-arg
(setq tags (sx-tag-multiple-read
- site (format "Tags%s" (if query " (optional)" ""))))
+ site (concat "Tags" (when query " (optional)"))))
(when (and (not query) (string= "" tags))
(sx-user-error "Must supply either QUERY or TAGS"))
(setq excluded-tags