diff options
author | David Edmondson <dme@dme.org> | 2010-04-22 10:03:32 +0100 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-04-23 15:41:33 -0700 |
commit | 45ad21fba18730cdf76725b8a132fc52ba4190a7 (patch) | |
tree | 26acdbd2f7f028c301441d4a96417049eb94d61f /emacs/notmuch-hello.el | |
parent | f106db3e9b146b4a032fbeeca8e3cf864abc1894 (diff) |
emacs: Re-arrange message sending code
Define a new `mail-user-agent' (`notmuch-user-agent') and use it by
default. Re-arrange various routines that send mail to use this
(compose, reply, forward). Insert a `User-Agent:' header by default.
This is the real commit for this functionality this time. The
previous attempt to merge this code:
commit 57926bc7b0f784cbacb620fda0ee5157e2e0ff27
was botched (by Carl Worth, not David) to include only the Makefile
change. So the build was broken until this commit that actually adds
the new file.
Diffstat (limited to 'emacs/notmuch-hello.el')
-rw-r--r-- | emacs/notmuch-hello.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el index aefa350..7e3107c 100644 --- a/emacs/notmuch-hello.el +++ b/emacs/notmuch-hello.el @@ -25,6 +25,7 @@ (require 'notmuch-lib) (require 'notmuch) +(require 'notmuch-mua) (declare-function notmuch-search "notmuch" (query &optional oldest-first target-thread target-line continuation)) (declare-function notmuch-folder-count "notmuch" (search)) @@ -335,6 +336,7 @@ diagonal." (use-local-map widget-keymap) (local-set-key "=" 'notmuch-hello-update) + (local-set-key "m" 'notmuch-mua-mail) (local-set-key "q" '(lambda () (interactive) (kill-buffer (current-buffer)))) (local-set-key "s" 'notmuch-hello-goto-search) (local-set-key "v" '(lambda () (interactive) |