Add helm-mode-insert-file to gpolonkai/helm-ff-slash-dir-complete

This commit is contained in:
Gergely Polonkai 2018-08-28 18:11:49 +02:00
parent 7f8652db3d
commit 6c979180f0

View File

@ -854,7 +854,8 @@ Taken from [[http://emacs.stackexchange.com/a/31321/507][here]].
(interactive)
(if (and (or
(equal "magit-status" (assoc-default 'name (helm-get-current-source)))
(equal "Find Files" (assoc-default 'name (helm-get-current-source))))
(equal "Find Files" (assoc-default 'name (helm-get-current-source)))
(equal "helm-mode-insert-file" (assoc-default 'name (helm-get-current-source))))
(stringp (helm-get-selection))
(file-directory-p (helm-get-selection)))
(helm-execute-persistent-action)