diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/net/jao-notmuch.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/net/jao-notmuch.el b/lib/net/jao-notmuch.el index ad5657f..e067714 100644 --- a/lib/net/jao-notmuch.el +++ b/lib/net/jao-notmuch.el @@ -206,8 +206,8 @@ (defun jao-notmuch-show-images () (interactive) (save-window-excursion - (when (and (jao-notmuch-goto-message-buffer nil t) - (derived-mode-p 'notmuch-show-mode)) + (when (or (derived-mode-p 'notmuch-show-mode) + (jao-notmuch-goto-message-buffer nil t)) (goto-char (point-min)) (when (re-search-forward "^\\[ text/html " nil t) (when (looking-at-p "(hidden)") |