Define imalison:projectile-find-file using imalison:prefix-alternatives

This commit is contained in:
Ivan Malison 2016-06-20 01:10:21 -07:00
parent 50b5ea66e0
commit afcd5804c0

View File

@ -1591,18 +1591,17 @@ I use helm for almost all emacs completion
(imalison:prefix-alternatives imalison:do-ag helm-projectile-ag
imalison:do-ag-default-directory helm-do-ag)
(imalison:prefix-alternatives imalison:projectile-find-file
projectile-find-file
projectile-find-file-other-window)
(defun projectile-make-all-subdirs-projects (directory)
(cl-loop for file-info in (directory-files-and-attributes directory)
do (when (nth 1 file-info)
(write-region "" nil
(expand-file-name
(concat directory "/"
(nth 0 file-info) "/.projectile"))))))
(defun imalison:projectile-find-file (arg)
(interactive "P")
(if arg
(projectile-find-file-other-window)
(projectile-find-file))))
(nth 0 file-info) "/.projectile")))))))
:config
(progn
(use-package persp-projectile