Previously, it was reporting that all signatures were 0 lines.
(let ((overlay (make-overlay beg-sub end)))
(overlay-put overlay 'invisible 'notmuch-show-signature)
(overlay-put overlay 'before-string
(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))))
"-line signature.]"))
(goto-char end)))
(next-line))))