diff options
author | Mark Walters <markwalters1009@gmail.com> | 2012-07-24 22:21:48 +0100 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-09-01 22:59:54 -0300 |
commit | 7cd3cd30039b54aefeab3dde83bbf14badaf7a60 (patch) | |
tree | be7de61e1a62388038e835ea145188fd2d360fe0 /emacs | |
parent | 6b47e2223d1d21cde34d2f53ede2209f932e7c09 (diff) |
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.
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/notmuch-show.el | 3 |
1 files changed, 2 insertions, 1 deletions
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)) |