* merge branch 'master' of github.com:djcb/mu

This commit is contained in:
djcb
2012-12-09 13:34:54 +02:00

View File

@ -189,6 +189,8 @@ headers in the region. Optionally, provide TARGET (for moves)."
(let ((cant-go-further) (eor (region-end))) (let ((cant-go-further) (eor (region-end)))
(goto-char (region-beginning)) (goto-char (region-beginning))
(while (and (<= (point) eor) (not cant-go-further)) (while (and (<= (point) eor) (not cant-go-further))
(when (eq mark 'refile)
(setq target (mu4e~mark-get-target mark target)))
(mu4e-mark-at-point mark target) (mu4e-mark-at-point mark target)
(setq cant-go-further (not (mu4e-headers-next)))))))) (setq cant-go-further (not (mu4e-headers-next))))))))