[PATCH] emacs: Accommodate message-mode updates.
    David Edmondson 
    dme at dme.org
       
    Tue Nov 16 09:51:38 PST 2010
    
    
  
Message mode uses a different name for composition buffers in newer
versions of emacs. Allow for this when causing the composition window
to overlay the viewing window.
---
I don't understand why Aneesh chose to use `add-hook' and `purecopy'.
 emacs/notmuch-mua.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el
index dc7b386..70c8dff 100644
--- a/emacs/notmuch-mua.el
+++ b/emacs/notmuch-mua.el
@@ -88,7 +88,7 @@ list."
     (let
 	;; Overlay the composition window on that being used to read
 	;; the original message.
-	((same-window-regexps '("\\*mail .*")))
+	((same-window-regexps '("\\*mail .*" "\\*unsent mail .*")))
       (notmuch-mua-mail (mail-header 'to headers)
 			(mail-header 'subject headers)
 			(message-headers-to-generate headers t '(to subject))))
-- 
1.7.2.3
    
    
More information about the notmuch
mailing list