]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch.el
emacs: use string-empty-p
[notmuch] / emacs / notmuch.el
index d2e87b1b1256f5aaa456b726df8667e13cead700..26efcccd3fae5817717adc8d5156c60a290f47d9 100644 (file)
@@ -814,13 +814,13 @@ non-authors is found, assume that all of the authors match."
        (setq invisible-string (notmuch-search-author-propertize invisible-string)))
       ;; If there is any invisible text, add it as a tooltip to the
       ;; visible text.
-      (unless (string= invisible-string "")
+      (unless (string-empty-p invisible-string)
        (setq visible-string
              (propertize visible-string
                          'help-echo (concat "..." invisible-string))))
       ;; Insert the visible and, if present, invisible author strings.
       (insert visible-string)
-      (unless (string= invisible-string "")
+      (unless (string-empty-p invisible-string)
        (let ((start (point))
              overlay)
          (insert invisible-string)