emacs: Improve the behaviour of the 'q' binding.
authorDavid Edmondson <dme@dme.org>
Wed, 29 Oct 2014 14:18:49 +0000 (14:18 +0000)
committerDavid Bremner <david@tethera.net>
Fri, 31 Oct 2014 16:54:21 +0000 (17:54 +0100)
commit30f1c43efe32c83193a6b9ae1f31ab2667e4195d
treebd2eba7ebb4b9a38962586d7bae3379eb4b4e9bb
parent0f35ddcdfc9d4011db32def6082f8aec5c372a7b
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.
emacs/notmuch-lib.el
emacs/notmuch-show.el
emacs/notmuch-tree.el
emacs/notmuch.el