From: David Edmondson <[email protected]>

Patch from mail id:[email protected] with a fix in 
id:[email protected]

Signed-off-by: Sebastian Spaeth <[email protected]>
---
 emacs/notmuch-show.el |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
index f172f6b..353b57d 100644
--- a/emacs/notmuch-show.el
+++ b/emacs/notmuch-show.el
@@ -708,14 +708,16 @@ is what to put on the button."
        (let* ((sig-start (match-beginning 0))
               (sig-end (match-end 0))
               (sig-lines (1- (count-lines sig-start end))))
-         (if (<= sig-lines notmuch-show-signature-lines-max)
-             (notmuch-show-region-to-button
-              sig-start
-              end
-              "signature"
-              indent
-              (format notmuch-show-signature-button-format sig-lines)
-              ))))))
+    (if (<= sig-lines notmuch-show-signature-lines-max)
+      (progn
+        (overlay-put (make-overlay sig-start end) 'face 
'message-cited-text-face)
+        (notmuch-show-region-to-button
+         sig-start
+         end
+         "signature"
+         indent
+         (format notmuch-show-signature-button-format sig-lines)
+         )))))))
 
 (defun notmuch-show-markup-part (beg end depth)
   (if (re-search-forward notmuch-show-part-begin-regexp nil t)
-- 
1.6.3.3

_______________________________________________
notmuch mailing list
[email protected]
http://notmuchmail.org/mailman/listinfo/notmuch

Reply via email to