From d49e720b6961ea005cdb26e4191b6f51384253ac Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Tue, 6 Jan 2015 19:28:15 -0200 Subject: sx-search: Use concat instead of format --- sx-search.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3