diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-09-05 12:50:07 +0200 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-09-05 13:10:59 +0200 |
commit | 87705c415d6ec3bbf2ed13b844d9c8d1400f1fa4 (patch) | |
tree | eae3a9eac5b037249ad84590df07060f2060e95b /lisp/mastodon-http.el | |
parent | 3ea9d6882464debcb48048c1a1affcd64bc8b220 (diff) |
use seq-empty-p and string-empty-p calls
Diffstat (limited to 'lisp/mastodon-http.el')
-rw-r--r-- | lisp/mastodon-http.el | 2 |
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) |