[PATCH 2/5] emacs: make notmuch-show return its buffer
Mark Walters
markwalters1009 at gmail.com
Sat Jul 28 10:01:49 PDT 2012
Hi
I have a version 2 of the rest of this series. However, it obviously
conflicts with the two patches I submitted today splitting out the
async-json parser and the clean-author function. Hence I will see how
they are received before submitting version 2.
I will mark Patches 3-5 obsolete (and have already marked 1 obsolete as
Tomi had a much better way of doing it). However Patch 2/5 will be needed in
any case so review/approval for this one-line patch would be great!
Many thanks
Mark
On Tue, 24 Jul 2012, Mark Walters <markwalters1009 at gmail.com> wrote:
> notmuch-pick uses the returned buffer to try and make sure it does not
> close the wrong buffer.
> ---
> 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 6335d45..1cabd17 100644
> --- a/emacs/notmuch-show.el
> +++ b/emacs/notmuch-show.el
> @@ -1031,7 +1031,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))
> --
> 1.7.9.1
More information about the notmuch
mailing list