multi-lining tweak

This commit is contained in:
Ivan Malison 2016-05-13 16:51:07 -07:00
parent 9b83da4f7e
commit d5f3e7593e

View File

@ -2050,7 +2050,8 @@ window is active in the perspective."
(defun imalison:project-root-or-current-directory () (defun imalison:project-root-or-current-directory ()
(if (projectile-project-p) (if (projectile-project-p)
(projectile-project-root) (if (buffer-file-name) (file-name-directory (buffer-file-name))))) (projectile-project-root) (if (buffer-file-name)
(file-name-directory (buffer-file-name)))))
(defun get-virtual-envs () (defun get-virtual-envs ()
(let ((project-root (imalison:project-root-or-current-directory))) (let ((project-root (imalison:project-root-or-current-directory)))