diff options
author | Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com> | 2014-11-20 13:48:00 -0500 |
---|---|---|
committer | Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com> | 2014-11-20 13:48:00 -0500 |
commit | 81e662bb2572c69d0cdd42fddd9d09acf17f9027 (patch) | |
tree | 7239d301aa8e415b67598aeeed522e7cc2620c64 | |
parent | e63d08fe75cff6e4b713a477408203351cc14e57 (diff) |
Fix auth settings in calls. Do not use 'warn in non-interactive commands.
-rw-r--r-- | sx-favorites.el | 2 | ||||
-rw-r--r-- | sx-networks.el | 2 | ||||
-rw-r--r-- | sx-question.el | 1 | ||||
-rw-r--r-- | sx-site.el | 3 |
4 files changed, 4 insertions, 4 deletions
diff --git a/sx-favorites.el b/sx-favorites.el index 55ebf49..f254137 100644 --- a/sx-favorites.el +++ b/sx-favorites.el @@ -58,7 +58,7 @@ Added as hook to initialization." (sx-method-call 'me :submethod (format "favorites?site=%s" site) :filter sx-favorite-list-filter - :auth 'warn)) + :auth t)) (defun sx-favorites--update-site-favorites (site) "Update list of starred QUESTION_IDs for SITE. diff --git a/sx-networks.el b/sx-networks.el index ff5a630..110f975 100644 --- a/sx-networks.el +++ b/sx-networks.el @@ -71,7 +71,7 @@ the variables." :submethod 'associated :keywords '((types . (main_site meta_site))) :filter sx-network--user-filter - :auth 'warn)) + :auth t)) (sx-network--get-associated)) (defun sx-network--initialize () diff --git a/sx-question.el b/sx-question.el index d040bad..75f786c 100644 --- a/sx-question.el +++ b/sx-question.el @@ -63,6 +63,7 @@ (let ((res (sx-method-call 'questions :id id :site site + :auth t :filter sx-question-browse-filter))) (if (vectorp res) (elt res 0) @@ -50,8 +50,7 @@ 'site-list '(sx-method-call 'sites :keywords '((pagesize . 999)) - :filter sx-site-browse-filter - :auth 'warn))) + :filter sx-site-browse-filter))) (defcustom sx-site-favorites nil |