Skip to content

Commit

Permalink
Fix previous commit where operation is a capitalized string
Browse files Browse the repository at this point in the history
and not a symbol.
  • Loading branch information
thierryvolpiatto committed Nov 5, 2023
1 parent 37ea3e2 commit aa7a29a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dired-async.el
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,11 @@ ESC or `q' to not overwrite any of the remaining files,
(error "Cannot copy `%s' into its subdirectory `%s'"
from to)))
;; Skip file if it is too large.
(if (and (memq operation '(copy rename))
(if (and (member operation '("Copy" "Rename"))
(eq (dired-async--abort-if-file-too-large
(file-attribute-size
(file-attributes (file-truename from)))
(symbol-name operation) from)
(downcase operation) from)
'abort))
(push from skipped)
(if overwrite
Expand Down

0 comments on commit aa7a29a

Please sign in to comment.