branch: elpa/helm commit 2f7684505664292f9196234e5c0504e21a8f8cec Author: Thierry Volpiatto <thie...@posteo.net> Commit: Thierry Volpiatto <thie...@posteo.net>
Prevent exiting with a directory when compressing to --- helm-files.el | 1 + 1 file changed, 1 insertion(+) diff --git a/helm-files.el b/helm-files.el index 2699cfc57b..86e6b8a0f0 100644 --- a/helm-files.el +++ b/helm-files.el @@ -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))