diff options
author | Kyle Meyer <kyle@kyleam.com> | 2018-01-20 22:11:18 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2018-01-20 22:11:18 -0500 |
commit | 27cbeef99f0e93a04aac0eae4eb79acd4921ce3b (patch) | |
tree | 770818b94a41407f98867210a05f1ae62b116498 | |
parent | 9b009636f8df6bcef99f1dd985b997e292bac787 (diff) | |
download | emacs.d-27cbeef99f0e93a04aac0eae4eb79acd4921ce3b.tar.gz |
Fix dir-locals-2 advice
When I converted the original defadvice snippet [*] to an advice-add
variant, I accidentally dropped the first function call, which results
in .dir-locals.el not being read in.
[*] https://emacs.stackexchange.com/questions/4267/how-can-i-have-a-second-dir-locals
-rw-r--r-- | init.el | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2390,6 +2390,7 @@ (advice-add 'hack-dir-local-variables :around (lambda (fn) + (funcall fn) (let ((dir-locals-file ".dir-locals-2.el")) (funcall fn))) '((name . "dir-locals-2"))) |