branch: elpa/helm
commit a65af07eff9fe087f30340412b73cfe4d86e77a3
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Remove the ability of switching to recursive search with C-j
---
helm-files.el | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/helm-files.el b/helm-files.el
index 5ad533fd31..bcc92c221a 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -5019,17 +5019,6 @@ file."
(cons (lambda (_candidate)
(funcall insert-in-minibuffer (concat candidate "#/")))
'never-split))
- ;; File doesn't exists and basename starts with ".." or " ",
- ;; Start a recursive search for directories.
- ((and (not (file-exists-p candidate))
- (not (file-remote-p candidate))
- (string-match-p "\\`\\([.]\\|\\s-\\)\\{2\\}[^/]+"
- (helm-basename candidate)))
- ;; As soon as the final "/" is added the job is passed
- ;; to `helm-ff-auto-expand-to-home-or-root'.
- (cons (lambda (_candidate)
- (funcall insert-in-minibuffer (concat candidate "/")))
- 'never-split))
;; File is not existing and have no basedir, typically when
;; user hit C-k (minibuffer is empty) and then write foo and
;; hit C-j. This make clear that when no basedir, helm will