]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-wash.el
emacs: mv notmuch-{show,common}-do-stash
[notmuch] / emacs / notmuch-wash.el
index 26a3f881163f8c6e4b50604faea685b54e66bc93..cfcfb21c01d4982ad2482ea3133708cfd6af40b2 100644 (file)
@@ -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)))