notmuch/emacs
Aaron Ecay a2d0215a58 Add an argument to notmuch-mua-mail
From the emacs changelog:

  ** `compose-mail' now accepts an optional 8th arg, RETURN-ACTION, and
  passes it to the mail user agent function.  This argument specifies an
  action for returning to the caller after finishing with the mail.
  This is currently used by Rmail to delete a mail window.

Under Emacs 24, notmuch breaks when this argument is passed to it by a
function in another part of Emacs.  One example of a functon that does
this is report-emacs-bug -- so notmuch users cannot file emacs bug
reports!

This patch also adds a &rest argument to the arg-list of this function,
to future-proof against such changes.  This is adapted from the approach
taken by message-mail, a similar function built into emacs.

This patch was originally submitted by richardmurri@gmail.com on Aug. 1:
id:"877h6x6oor.fsf@veracitynetworks.com"
2011-12-18 08:18:06 -04:00
..
coolj.el emacs: Add more functions to clean up text/plain parts 2010-04-26 10:05:46 -07:00
Makefile fix sum moar typos [build scripts, Makefiles] 2011-06-23 15:44:59 -07:00
Makefile.local Separate Emacs misc. files dir. from Emacs code dir. 2011-10-28 14:07:44 -03:00
notmuch-address.el emacs: Tell the user how many addresses matched when completing 2010-04-26 10:58:42 -07:00
notmuch-crypto.el emacs: Add a face for crypto parts headers 2011-12-15 22:51:24 -04:00
notmuch-hello.el emacs: Add notmuch-hello-mode-hook 2011-12-16 17:17:30 -04:00
notmuch-lib.el emacs: remove unused `point-invisible-p' function 2011-11-07 20:38:37 -04:00
notmuch-logo.png emacs: Add notmuch-hello.el, a friendly frontend to notmuch 2010-04-23 12:50:18 -07:00
notmuch-maildir-fcc.el fix sum moar typos [error messages] 2011-06-23 15:59:03 -07:00
notmuch-message.el emacs: add notmuch-before- and notmuch-after-tag-hook 2011-05-24 13:28:41 -07:00
notmuch-mua.el Add an argument to notmuch-mua-mail 2011-12-18 08:18:06 -04:00
notmuch-query.el emacs: Add support for PGP/MIME verification/decryption 2011-05-27 16:22:00 -07:00
notmuch-show.el emacs: Document notmuch-show-get-message-properties 2011-12-16 08:34:26 -04:00
notmuch-wash.el fix sum moar typos [user-visible documentation in code] 2011-06-23 15:58:50 -07:00
notmuch.el emacs: support "notmuch new" as a notmuch-poll-script 2011-12-15 00:20:11 -04:00