Created
July 11, 2018 04:38
-
-
Save Ailrun/b9812df5c4f704b1a38203e6adc15bbe to your computer and use it in GitHub Desktop.
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 progn | |
(let | |
((base-path | |
(locate-dominating-file default-directory ".dir-locals.el"))) | |
;; Custom backup path | |
;; Or you can set `make-backup-files` to `nil`. | |
(make-local-variable 'backup-directory-alist) | |
(add-to-list 'backup-directory-alist | |
`(".*" \, | |
(expand-file-name ".backup" base-path))) | |
;; Custom exec path | |
(make-local-variable 'exec-path) | |
(add-to-list 'exec-path | |
(expand-file-name "node_modules/.bin/" base-path)))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment