multi-lining tweak
This commit is contained in:
parent
9b83da4f7e
commit
d5f3e7593e
@ -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)))
|
||||||
|
Loading…
Reference in New Issue
Block a user