notmuch.el: Fix to claim correct number of lines for hidden signature.

Previously, it was reporting that all signatures were 0 lines.
This commit is contained in:
Carl Worth 2009-11-04 15:19:08 -08:00
parent a1f631ab6b
commit 3604a19beb

View file

@ -307,7 +307,7 @@ which this thread was originally shown."
(let ((overlay (make-overlay beg-sub end))) (let ((overlay (make-overlay beg-sub end)))
(overlay-put overlay 'invisible 'notmuch-show-signature) (overlay-put overlay 'invisible 'notmuch-show-signature)
(overlay-put overlay 'before-string (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.]")) "-line signature.]"))
(goto-char end))) (goto-char end)))
(next-line)))) (next-line))))