fix imalison:get-projects-directory-target-from-repo

This commit is contained in:
Ivan Malison 2016-06-18 18:18:22 -07:00
parent a1654dd972
commit 453137bd67

View File

@ -1764,10 +1764,10 @@ I use helm for almost all emacs completion
(progn (progn
(defun imalison:get-projects-directory-target-from-repo (repo) (defun imalison:get-projects-directory-target-from-repo (repo)
(let ((prospective-path (let ((prospective-path
(imalison:join-paths imalison:projects-directory (oref repo :name))) (imalison:join-paths imalison:projects-directory (oref repo :name))))
(if (file-exists-p prospective-path) (if (file-exists-p prospective-path)
(funcall github-search-prompt-for-target-directory repo) (funcall github-search-prompt-for-target-directory repo)
prospective-path))))) prospective-path))))
:config :config
(progn (progn
(setq github-search-get-target-directory-for-repo-function (setq github-search-get-target-directory-for-repo-function