aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2014-12-20 02:00:24 -0500
committerSean Allred <code@seanallred.com>2014-12-20 02:00:24 -0500
commitf80f38e87c86070433a9a8c2a6fbf75b490b6875 (patch)
tree34f4dab1be163164b1f476a0dc82511c40f0104c
parentad070b3401f47f11b8ad7b623f05aba7e769e03c (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 4ad0fd5..6f4e7c7 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.