From 12799b8f50b4127ef7d3d2ed1d69a4f49a848007 Mon Sep 17 00:00:00 2001 From: David Pflug Date: Thu, 29 Nov 2012 07:47:30 -0500 Subject: [PATCH] Fix parens typo in add-hook example You had (let ((symbol valueform) body)). --- mu4e/mu4e.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mu4e/mu4e.texi b/mu4e/mu4e.texi index 315febc1..8bd8eb3e 100644 --- a/mu4e/mu4e.texi +++ b/mu4e/mu4e.texi @@ -1362,14 +1362,14 @@ Let's look at some examples. First, suppose we want to set the (add-hook 'mu4e-compose-pre-hook (defun my-set-from-address () "Set the From address based on the To address of the original." - (let ((msg mu4e-compose-parent-message) ;; msg is shorter... + (let ((msg mu4e-compose-parent-message)) ;; msg is shorter... (setq user-mail-address (cond ((mu4e-message-contact-field-matches msg :to "me@@foo.com") "me@@foo.com") ((mu4e-message-contact-field-matches msg :to "me@@bar.com") "me@@bar.com") - (t "me@@cuux.com"))))))) + (t "me@@cuux.com")))))) @end lisp Second, as mentioned, @code{mu4e-compose-mode-hook} is especially useful for