aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs
diff options
context:
space:
mode:
authorGravatar Tomi Ollila <tomi.ollila@iki.fi>2012-03-01 15:34:05 +0200
committerGravatar David Bremner <bremner@debian.org>2012-03-01 19:04:02 -0400
commit1fb5c77818ff00714a7012b74b2bc620818f4a36 (patch)
tree4713053cd01021b571b3847608c18d5af3973002 /emacs
parent5234f808bc5fe5c4ce28c04f9add38cc5bd1fb3d (diff)
emacs: retain show buffer state after retrieving gpg key
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).
Diffstat (limited to 'emacs')
-rw-r--r--emacs/notmuch-crypto.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch-crypto.el b/emacs/notmuch-crypto.el
index 94da325d..e916d663 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))