mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 10:58:10 +01:00
emacs: Correctly count the number of lines in a signature.
This commit is contained in:
parent
d5e4ff0580
commit
1b2ea703e7
1 changed files with 1 additions and 1 deletions
|
@ -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)))
|
||||
|
|
Loading…
Reference in a new issue