aboutsummaryrefslogtreecommitdiff
path: root/sx-method.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2014-12-15 18:27:33 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2014-12-15 18:27:33 -0200
commit6956c17e1e7ef2899026ad365a0acdd4ce63cb80 (patch)
tree3f396981e2e5613c968ac3fee8d91ed2d762162b /sx-method.el
parentceaee4e85d44caad2db8adacdff2e2772bf254c0 (diff)
user-error is "not known to be defined" in emacs 24.2
Diffstat (limited to 'sx-method.el')
-rw-r--r--sx-method.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/sx-method.el b/sx-method.el
index 4575b0f..1078014 100644
--- a/sx-method.el
+++ b/sx-method.el
@@ -90,7 +90,7 @@ Return the entire response as a complex alist."
(cond
;; 1. Need auth and warn user (interactive use)
((and method-auth (equal 'warn auth))
- (user-error
+ (sx-user-error
"This request requires authentication. Please run `M-x sx-authenticate' and try again."))
;; 2. Need auth to populate UI, cannot provide subset
((and method-auth auth)