tweak(mu4e): don't reverse dired marks to attach
Originally this was added to have the order of attached files match the order of mark selection. Recent usage indicates that this was either misguided or the behaviour has changed, as this now achieves the opposite effect --- with nreverse files are attached in reverse order. Removing nreverse provides the expected behaviour.
This commit is contained in:
parent
2662d68ae8
commit
4d9ea6853b
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ When otherwise called, open a dired buffer and enable `dired-mu4e-attach-ctrl-c-
|
|||
(mapcar
|
||||
;; don't attach directories
|
||||
(lambda (f) (if (file-directory-p f) nil f))
|
||||
(nreverse (dired-map-over-marks (dired-get-filename) nil))))))
|
||||
(dired-map-over-marks (dired-get-filename) nil)))))
|
||||
(if (not files-to-attach)
|
||||
(progn
|
||||
(message "No files marked, aborting.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue