mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +01:00
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.
This commit is contained in:
parent
2c8959dad8
commit
5d021e52e2
1 changed files with 2 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue