aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-http.el
diff options
context:
space:
mode:
authorJohnson Denen <johnson.denen@gmail.com>2017-04-08 12:59:10 -0400
committerjdenen <Johnson.Denen@ascenaretail.com>2017-04-09 08:55:36 -0400
commitd5e3ff37a9ade01cb0104abc7a308665a5a2e4f7 (patch)
treea4486671b77967e6ed75af5164c543edd2713ad5 /lisp/mastodon-http.el
parent96f4b3627b3cbb38b28ba07206fb6196e71e212a (diff)
Fix void-function error
Diffstat (limited to 'lisp/mastodon-http.el')
-rw-r--r--lisp/mastodon-http.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon-http.el b/lisp/mastodon-http.el
index 0e49c08..acfda8f 100644
--- a/lisp/mastodon-http.el
+++ b/lisp/mastodon-http.el
@@ -54,7 +54,7 @@ Response buffer is passed to the CALLBACK function."
(json-read-from-string (mastodon--response-json))))
(defun mastodon--http-response-triage (status success)
- (when (not (mastodon--response-status))
+ (when (not (mastodon--response-status-p))
(mastodon--http-response-triage status))
(if (string-prefix-p "2" (mastodon--response-code))
(funcall success)