diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2021-01-10 15:01:09 +0100 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-01-15 06:47:28 -0400 |
| commit | 371f481d93073cad23f7ce8579a83a4db09147ef (patch) | |
| tree | d07551eaf56d812cc1465b730d126f5223423dc5 /emacs/notmuch-lib.el | |
| parent | f3d6fa2e40c45c3dbaef768e36f1544248851ddb (diff) | |
emacs: use string-empty-p
Diffstat (limited to 'emacs/notmuch-lib.el')
| -rw-r--r-- | emacs/notmuch-lib.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el index 05d3be10..bc550dc2 100644 --- a/emacs/notmuch-lib.el +++ b/emacs/notmuch-lib.el @@ -285,7 +285,7 @@ depending on the value of `notmuch-poll-script'." (interactive) (message "Polling mail...") (if (stringp notmuch-poll-script) - (unless (string= notmuch-poll-script "") + (unless (string-empty-p notmuch-poll-script) (unless (equal (call-process notmuch-poll-script nil nil) 0) (error "Notmuch: poll script `%s' failed!" notmuch-poll-script))) (notmuch-call-notmuch-process "new")) |
