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-search.el | |
parent | 3ea9d6882464debcb48048c1a1affcd64bc8b220 (diff) |
use seq-empty-p and string-empty-p calls
Diffstat (limited to 'lisp/mastodon-search.el')
-rw-r--r-- | lisp/mastodon-search.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon-search.el b/lisp/mastodon-search.el index c7658ba..d161544 100644 --- a/lisp/mastodon-search.el +++ b/lisp/mastodon-search.el @@ -208,7 +208,7 @@ user's profile note. This is also called by (defun mastodon-search--get-user-info (account) "Get user handle, display name, account URL and profile note from ACCOUNT." - (list (if (not (equal "" (alist-get 'display_name account))) + (list (if (not (string-empty-p (alist-get 'display_name account))) (alist-get 'display_name account) (alist-get 'username account)) (alist-get 'acct account) |