From: Mark Walters Date: Tue, 24 Jul 2012 21:21:48 +0000 (+0100) Subject: emacs: make notmuch-show return its buffer X-Git-Tag: 0.15_rc1~258 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7cd3cd30039b54aefeab3dde83bbf14badaf7a60;p=notmuch.git emacs: make notmuch-show return its buffer notmuch-pick uses the returned buffer to try and make sure it does not close the wrong buffer. --- diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index c9fd867a..ce5ea6f9 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -1038,7 +1038,8 @@ function is used." notmuch-show-parent-buffer parent-buffer notmuch-show-query-context query-context) (notmuch-show-build-buffer) - (notmuch-show-goto-first-wanted-message))) + (notmuch-show-goto-first-wanted-message) + (current-buffer))) (defun notmuch-show-build-buffer () (let ((inhibit-read-only t))