diff options
author | Sean Allred <code@seanallred.com> | 2015-01-02 18:13:26 -0500 |
---|---|---|
committer | Sean Allred <code@seanallred.com> | 2015-01-02 18:13:26 -0500 |
commit | 2797cd52800b628c91de9c191f24f5513fe244ca (patch) | |
tree | 16125090a71812cab759eaa0bba9bde55c4b566a /sx-method.el | |
parent | f97c84c2d4a0a8ef6e53333a0a5c528397ccaded (diff) | |
parent | dd9c2017cb3f0b145b39150562a0c4e59c244df1 (diff) |
Merge branch 'get-all' into tag-bot
Diffstat (limited to 'sx-method.el')
-rw-r--r-- | sx-method.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sx-method.el b/sx-method.el index 83455b8..1078014 100644 --- a/sx-method.el +++ b/sx-method.el @@ -1,4 +1,4 @@ -;;; sx-method.el --- method calls +;;; sx-method.el --- Main interface for API method calls. -*- lexical-binding: t; -*- ;; Copyright (C) 2014 Sean Allred @@ -90,8 +90,8 @@ 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 - "This request requires authentication. Please run `M-x sx-auth-authenticate' and try again.")) + (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) (setq call 'sx-request-fallback)) |