diff options
author | jao <jao@gnu.org> | 2021-08-18 22:17:48 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-08-18 22:17:48 +0100 |
commit | 23f65b1d7b7bf07364d7e5c3016dfc6cbc202dbd (patch) | |
tree | 23c197a5258ea7836f06e05e280cf21318107f73 | |
parent | bfa005de36f4f80f34d622276676a629ca7918f9 (diff) | |
download | elibs-23f65b1d7b7bf07364d7e5c3016dfc6cbc202dbd.tar.gz elibs-23f65b1d7b7bf07364d7e5c3016dfc6cbc202dbd.tar.bz2 |
fix for jao-notmuch-show-images
-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)") |