summaryrefslogtreecommitdiff
path: root/notmuch.el
diff options
context:
space:
mode:
authorAlexander Botero-Lowry <alex.boterolowry@gmail.com>2009-11-19 22:11:48 -0800
committerAlexander Botero-Lowry <alexbl@fortitudo.(none)>2009-11-22 15:24:49 -0800
commit89f55ab84b77f7b3a58b8ad56734613a2803bc2b (patch)
treecc94b8c1377a99152e3a70652c56583df9c45e45 /notmuch.el
parent14f492ba0ca2bacd254ebda8a7756731f282f2a4 (diff)
buttonize signatures as well
Diffstat (limited to 'notmuch.el')
-rw-r--r--notmuch.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/notmuch.el b/notmuch.el
index 67e87ea..93f3914 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))))