aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-http.el
diff options
context:
space:
mode:
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 d6158eb..27f8ef0 100644
--- a/lisp/mastodon-http.el
+++ b/lisp/mastodon-http.el
@@ -145,7 +145,7 @@ Pass response buffer to CALLBACK function."
(buffer-substring-no-properties (point) (point-max))
'utf-8)))
(kill-buffer)
- (unless (or (string= "" json-string) (equal nil json-string)))
+ (unless (or (string-equal "" json-string) (null json-string)))
(json-read-from-string json-string)))
(defun mastodon-http--delete (url)