Make doom-project-{p,root} functions simpler

+ doom-project-root and doom-project-p no longer takes arguments
+ Remove doom*project-root advice
This commit is contained in:
Henrik Lissner 2017-09-20 01:33:25 +02:00
parent 77836e08b1
commit 3fcbdae441
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 10 additions and 16 deletions

View file

@ -88,7 +88,7 @@
:commands tern-mode
:init (add-hook 'js2-mode-hook #'tern-mode)
:config
(advice-add #'tern-project-dir :override #'doom*project-root))
(advice-add #'tern-project-dir :override #'doom-project-root))
(def-package! company-tern