aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs/notmuch-maildir-fcc.el
diff options
context:
space:
mode:
authorGravatar Aaron Ecay <aaronecay@gmail.com>2011-12-17 10:47:48 -0500
committerGravatar David Bremner <bremner@debian.org>2011-12-21 07:27:38 -0400
commite3260d025389c2e98dbda58cff1c214497813bc2 (patch)
treec8cbead70665bb7142230c969f5b4d01eed2e785 /emacs/notmuch-maildir-fcc.el
parent4a2a271878ad31992f3121362d7e2dd12da2bf7a (diff)
Don't quote lambda forms
This generates byte-compiler warnings on (at least) current trunk versions of Emacs. The quote is not necessary; lambda forms are self-quoting.
Diffstat (limited to 'emacs/notmuch-maildir-fcc.el')
-rw-r--r--emacs/notmuch-maildir-fcc.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/emacs/notmuch-maildir-fcc.el b/emacs/notmuch-maildir-fcc.el
index e6788685..6fbf82d2 100644
--- a/emacs/notmuch-maildir-fcc.el
+++ b/emacs/notmuch-maildir-fcc.el
@@ -65,8 +65,8 @@ yet when sending a mail."
;; Set up the message-fcc-handler to move mails to the maildir in Fcc
;; The parameter is set to mark messages as "seen"
(setq message-fcc-handler-function
- '(lambda (destdir)
- (notmuch-maildir-fcc-write-buffer-to-maildir destdir t)))
+ (lambda (destdir)
+ (notmuch-maildir-fcc-write-buffer-to-maildir destdir t)))
;; add a hook to actually insert the Fcc header when sending
(add-hook 'message-header-setup-hook 'notmuch-fcc-header-setup))
@@ -131,10 +131,10 @@ will NOT be removed or replaced."
(defun notmuch-maildir-fcc-host-fixer (hostname)
(replace-regexp-in-string "/\\|:"
- '(lambda (s)
- (cond ((string-equal s "/") "\\057")
- ((string-equal s ":") "\\072")
- (t s)))
+ (lambda (s)
+ (cond ((string-equal s "/") "\\057")
+ ((string-equal s ":") "\\072")
+ (t s)))
hostname
t
t))