]> git.notmuchmail.org Git - notmuch/commit
emacs: Handle switch-function argument of notmuch-mua-mail
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 2 Jan 2016 16:47:45 +0000 (17:47 +0100)
committerDavid Bremner <david@tethera.net>
Fri, 8 Jan 2016 12:32:48 +0000 (08:32 -0400)
commit1de4d5bb0d2bdcf9d14736b86a417d32e8c8668a
tree9a360dbdfff261f3e3cc8541bf79d7bd5cdacd2c
parent332b5937751203a6be053b01d47ea8c777a5f60c
emacs: Handle switch-function argument of notmuch-mua-mail

notmuch-mua-mail ignored the switch-function argument and always used
the function returned by notmuch-mua-get-switch-function instead. In
order to support standard emacs interfaces (compose-mail in this
case), this commit changes notmuch-mua-mail to use the switch-function
argument if it is non-nil and notmuch-mua-get-switch-function
otherwise.
emacs/notmuch-mua.el