X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-wash.el;h=cfcfb21c01d4982ad2482ea3133708cfd6af40b2;hb=75d616c6caa0e0ac51c34371ebee7574dbea2952;hp=26a3f881163f8c6e4b50604faea685b54e66bc93;hpb=5ebf5efcb0ed316139f9c44a10ddffc09637f596;p=notmuch diff --git a/emacs/notmuch-wash.el b/emacs/notmuch-wash.el index 26a3f881..cfcfb21c 100644 --- a/emacs/notmuch-wash.el +++ b/emacs/notmuch-wash.el @@ -145,7 +145,7 @@ is what to put on the button." (re-search-forward notmuch-wash-signature-regexp nil t)) (let* ((sig-start (match-beginning 0)) (sig-end (match-end 0)) - (sig-lines (1- (count-lines sig-start (point-max))))) + (sig-lines (count-lines sig-start (point-max)))) (if (<= sig-lines notmuch-wash-signature-lines-max) (let ((sig-start-marker (make-marker)) (sig-end-marker (make-marker)))