mirror of https://github.com/djcb/mu.git
always recompute the dynamic target for a mark
This is a bug fix. Previously, recomputing was done only for refile, which is wrong: trash target can also be dynamic, and we want to allow the user to configure more dynamic targets.
This commit is contained in:
parent
e434ea7680
commit
ad8488368b
|
@ -294,8 +294,7 @@ headers in the region. Optionally, provide TARGET (for moves)."
|
|||
(let ((cant-go-further) (eor (region-end)))
|
||||
(goto-char (region-beginning))
|
||||
(while (and (<= (point) eor) (not cant-go-further))
|
||||
(when (eq mark 'refile)
|
||||
(setq target (mu4e~mark-get-target mark target)))
|
||||
(setq target (mu4e~mark-get-target mark target))
|
||||
(mu4e-mark-at-point mark target)
|
||||
(setq cant-go-further (not (mu4e-headers-next))))))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue