From 89f55ab84b77f7b3a58b8ad56734613a2803bc2b Mon Sep 17 00:00:00 2001 From: Alexander Botero-Lowry Date: Thu, 19 Nov 2009 22:11:48 -0800 Subject: [PATCH 1/1] buttonize signatures as well --- notmuch.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/notmuch.el b/notmuch.el index 67e87ea2..93f3914f 100644 --- a/notmuch.el +++ b/notmuch.el @@ -508,11 +508,11 @@ which this thread was originally shown." (progn (overlay-put (make-overlay beg-sub end) 'invisible 'notmuch-show-signature) - (overlay-put (make-overlay beg (- beg-sub 1)) - 'after-string - (concat "\n" indent - "[" (number-to-string sig-lines) - "-line signature. Press 's' to show.]")) + (goto-char (- beg-sub 1)) + (insert (concat "\n" indent)) + (insert-button (concat "[" (number-to-string sig-lines) + "-line signature. Press 's' to show.]")) + (insert "\n") (goto-char end))))) (forward-line)))) -- 2.43.0