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.
This commit is contained in:
Mark Walters 2012-07-24 22:21:48 +01:00 committed by David Bremner
parent 6b47e2223d
commit 7cd3cd3003

View file

@ -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))