emacs: Improve the behaviour of the 'q' binding.

When a user hits 'q' in a notmuch buffer, kill the buffer only if
there are no other windows currently showing it.

v2:
- Change the name of `notmuch-kill-this-buffer' to be clearer.


David Edmondson (1):
  emacs: Improve the behaviour of the 'q' binding.

 emacs/notmuch-lib.el  | 13 +++++++++----
 emacs/notmuch-show.el |  2 +-
 emacs/notmuch-tree.el |  2 +-
 emacs/notmuch.el      |  4 ++--
 4 files changed, 13 insertions(+), 8 deletions(-)

-- 
2.1.1

_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch

Reply via email to