]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-show.el
emacs: Use 'unless' instead of 'when' and 'not'
[notmuch] / emacs / notmuch-show.el
index 531ce1ae5179a6db6e00e03137ed2a3e69d2a808..7a03315027e088f721ad0d25bf46093ec3ba0d68 100644 (file)
@@ -1066,8 +1066,7 @@ is t, hide the part initially and show the button."
       ;; If the subject of this message is the same as that of the
       ;; previous message, don't display it when this message is
       ;; collapsed.
-      (when (not (string= notmuch-show-previous-subject
-                         bare-subject))
+      (unless (string= notmuch-show-previous-subject bare-subject)
        (forward-line 1))
       (setq headers-start (point-marker)))
     (setq headers-end (point-marker))