aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2014-12-20 02:00:24 -0500
committerArtur Malabarba <bruce.connor.am@gmail.com>2014-12-22 10:46:41 -0200
commite3aa448f7d456d857879e53ae7b2268d8b5d97c2 (patch)
tree8325fccfe122c8a8966a5d1be39c3e028d3e2d24
parent06ec0c89a1ecf437d30c3a796f1611a8d8d3dbc0 (diff)
Hotfix undefined variable
-rw-r--r--sx.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/sx.el b/sx.el
index 7d67835..cda1acd 100644
--- a/sx.el
+++ b/sx.el
@@ -107,7 +107,8 @@ is intentionally skipped."
(defun sx-user-error (format-string &rest args)
"Like `user-error', but prepend FORMAT-STRING with \"[sx]\".
See `format'."
- (signal 'user-error (list (apply #'format (concat "[sx] " format) args))))
+ (signal 'user-error
+ (list (apply #'format (concat "[sx] " format-string) args))))
(defun sx-message (format-string &rest args)
"Display FORMAT-STRING as a message with ARGS.