X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch.el;h=93f3914fb7ded43b8913a6b7cfcae036e7778102;hp=67e87ea2bdf12798bc9233a00a9ad9d3e48271b7;hb=89f55ab84b77f7b3a58b8ad56734613a2803bc2b;hpb=14f492ba0ca2bacd254ebda8a7756731f282f2a4 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))))