Permalink
Browse files

Revert 72b6ff3 making impossible directory creation (#2061)

* helm-files.el (helm-ff-filter-candidate-one-by-one): Do it.
  • Loading branch information...
thierryvolpiatto committed Jun 26, 2018
1 parent 40cd9fd commit c2ca99dbbbb07ca8763e25d4f0866ef5a795a5b5
Showing with 3 additions and 6 deletions.
  1. +3 −6 helm-files.el
View
@@ -2894,12 +2894,9 @@ Return candidates prefixed with basename of `helm-input' first."
(cons (propertize disp 'face 'helm-ff-file)
file))
;; A non--existing file.
((or (file-writable-p file) url-p)
(cons (helm-ff-prefix-filename
(propertize disp 'face 'helm-ff-file) nil 'new-file)
file))
;; A file not accessible.
((null attr) (propertize disp 'face 'helm-ff-denied))))))))
(t (cons (helm-ff-prefix-filename
(propertize disp 'face 'helm-ff-file) nil 'new-file)
file))))))))
(defun helm-find-files-action-transformer (actions candidate)
"Action transformer for `helm-source-find-files'."

0 comments on commit c2ca99d

Please sign in to comment.