* helm-files.el (helm-ff-transform-fname-for-completion): Fix weird directory name completion.
(helm-ff-match-fn): removed.
Merge branch 'master' into exp
* helm-files.el: Cleanup some helm-find-files functions.
(helm-find-files-down-one-level): simplify, use with-helm-after-update-hook to call helm-ff-retrieve-last-expanded.
Remove helm-ff-retrieve-last-expanded in helm-after-update-hook.
(helm-find-files-get-candidates): call file-directory-p only once.
* helm-files.el (helm-ff-retrieve-last-expanded): Quote regexp.
* helm-mode.el (helm-read-file-name): Don't use match function.
* helm-files.el (helm-ff-move-to-first-real-candidate): Fix use or and simplify.
* helm-files.el (helm-find-files-down-one-level): Preselect current selection when it is an existing file.
* helm-files.el (helm-ff-transform-fname-for-completion): Use file-name-as-directory.
* helm-files.el (helm-find-files-down-one-level): Fix timer delay for remote filenames.
* helm.el (helm-get-candidates): Don't use while-no-input on remote files.