diff options
author | David Edmondson <dme@dme.org> | 2012-02-07 17:26:11 +0000 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-02-12 11:58:20 -0500 |
commit | 5d021e52e2c39db224764e5e1d7f08b5e4068d77 (patch) | |
tree | 3de40fbf15a1b011395105c3c681881c404e200e /emacs | |
parent | 2c8959dad8863d185b237ed3e1f947fc46b32c98 (diff) |
emacs: Ensure that gnupg output goes at the end of the buffer.
When showing the user some details of gnupg output, ensure that those
details are shown at the end of the gnupg status buffer
("*notmuch-crypto-gpg-out*"), otherwise it can end up mixed up with
earlier output.
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/notmuch-crypto.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/notmuch-crypto.el b/emacs/notmuch-crypto.el index 80ac350e..c7ef1eba 100644 --- a/emacs/notmuch-crypto.el +++ b/emacs/notmuch-crypto.el @@ -129,6 +129,7 @@ mode." (window (display-buffer buffer t nil))) (with-selected-window window (with-current-buffer buffer + (goto-char (point-max)) (call-process "gpg" nil t t "--list-keys" fingerprint)) (recenter -1)))) @@ -139,6 +140,7 @@ mode." (window (display-buffer buffer t nil))) (with-selected-window window (with-current-buffer buffer + (goto-char (point-max)) (call-process "gpg" nil t t "--recv-keys" keyid) (insert "\n") (call-process "gpg" nil t t "--list-keys" keyid)) |