From: Carl Worth Date: Wed, 4 Nov 2009 23:19:08 +0000 (-0800) Subject: notmuch.el: Fix to claim correct number of lines for hidden signature. X-Git-Tag: 0.1~578 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=3604a19beb0c6f90bea199884d0ac696c2de4505;hp=a1f631ab6b533da5bbada0ed97a33da23f4a29c6 notmuch.el: Fix to claim correct number of lines for hidden signature. Previously, it was reporting that all signatures were 0 lines. --- diff --git a/notmuch.el b/notmuch.el index de44d247..0599af5f 100644 --- a/notmuch.el +++ b/notmuch.el @@ -307,7 +307,7 @@ which this thread was originally shown." (let ((overlay (make-overlay beg-sub end))) (overlay-put overlay 'invisible 'notmuch-show-signature) (overlay-put overlay 'before-string - (concat "[" (number-to-string (count-lines beg-sub (point))) + (concat "[" (number-to-string (count-lines beg-sub end)) "-line signature.]")) (goto-char end))) (next-line))))