We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de62173 commit 893dc12Copy full SHA for 893dc12
hog.el
@@ -59,7 +59,8 @@ Can be set in dir-locals to be changed on a per-project basis.")
59
60
(defun hog--project-root ()
61
"Get the root of the current version controlled project."
62
- (expand-file-name (or (vc-root-dir)
+ (expand-file-name (or (and (fboundp 'projectile-project-root) (projectile-project-root))
63
+ (vc-root-dir)
64
(locate-dominating-file default-directory ".git"))))
65
66
(defun hog--get-projects ()
0 commit comments