Skip to content

Commit

Permalink
Prevent exiting with a directory when compressing to
Browse files Browse the repository at this point in the history
  • Loading branch information
thierryvolpiatto committed Mar 18, 2024
1 parent 75a1f4d commit cd875ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions helm-files.el
Original file line number Diff line number Diff line change
Expand Up @@ -1263,6 +1263,7 @@ ACTION can be `rsync' or any action supported by `helm-dired-action'."
(helm-basename cand)
"new_archive"))
cdir))
:must-match (and cdir (lambda (f) (not (file-directory-p f))))
:initial-input (or cdir (helm-dwim-target-directory))
:history (helm-find-files-history nil :comp-read nil))))))
(dest-dir-p (file-directory-p dest))
Expand Down

0 comments on commit cd875ef

Please sign in to comment.