Fix region bounds checking when marking headers

This commit is contained in:
Bryan Gilbert 2017-11-08 08:34:34 -05:00
parent dbc162ef9b
commit c71bc710fb
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ headers in the region. Optionally, provide TARGET (for moves)."
(save-excursion
(let ((cant-go-further) (eor (region-end)))
(goto-char (region-beginning))
(while (and (<= (point) eor) (not cant-go-further))
(while (and (< (point) eor) (not cant-go-further))
(mu4e-mark-at-point mark target)
(setq cant-go-further (not (mu4e-headers-next))))))))