[PATCH 1/2] emacs: retain show buffer state after retrieving gpg key
Tomi Ollila
tomi.ollila at iki.fi
Thu Mar 1 05:34:05 PST 2012
After retrieving gpg key retain show buffer state like in
all other operations (i.e. no other calls to notmuch-show-refresh-view
provides optional reset-state argument).
Emacs MUA keeps current message under cursor instead of going first
open message(possibly marking it read).
---
emacs/notmuch-crypto.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/emacs/notmuch-crypto.el b/emacs/notmuch-crypto.el
index 94da325..e916d66 100644
--- a/emacs/notmuch-crypto.el
+++ b/emacs/notmuch-crypto.el
@@ -145,7 +145,7 @@ mode."
(insert "\n")
(call-process "gpg" nil t t "--list-keys" keyid))
(recenter -1))
- (notmuch-show-refresh-view t)))
+ (notmuch-show-refresh-view)))
(defun notmuch-crypto-insert-encstatus-button (encstatus)
(let* ((status (plist-get encstatus :status))
--
1.7.8.2
More information about the notmuch
mailing list