Created
July 28, 2020 14:22
-
-
Save mmajewsk/ab8bf7753d5d59027dfbbe8ab68578ef to your computer and use it in GitHub Desktop.
Emacs problem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
((nil . ((eval . ( | |
defvar projectile-main-project "/home/mwm/repositories/LHCb/ml_analysis_recreation" | |
))))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun use-main-project (&rest args) | |
"Skip calling `projectile-project-root' when there is a main project defined." | |
(when projectile-main-project | |
projectile-main-project)) | |
(advice-add #'projectile-project-root :before-until #'use-main-project) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment