aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-http.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-09-05 12:50:07 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-09-05 13:10:59 +0200
commit87705c415d6ec3bbf2ed13b844d9c8d1400f1fa4 (patch)
treeeae3a9eac5b037249ad84590df07060f2060e95b /lisp/mastodon-http.el
parent3ea9d6882464debcb48048c1a1affcd64bc8b220 (diff)
use seq-empty-p and string-empty-p calls
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 af1a9da..086dcec 100644
--- a/lisp/mastodon-http.el
+++ b/lisp/mastodon-http.el
@@ -155,7 +155,7 @@ Pass response buffer to CALLBACK function."
(buffer-substring-no-properties (point) (point-max))
'utf-8)))
(kill-buffer)
- (unless (or (string-equal "" json-string) (null json-string))
+ (unless (or (string-empty-p json-string) (null json-string))
(json-read-from-string json-string))))
(defun mastodon-http--delete (url)