summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2018-01-20 22:11:18 -0500
committerKyle Meyer <kyle@kyleam.com>2018-01-20 22:11:18 -0500
commit27cbeef99f0e93a04aac0eae4eb79acd4921ce3b (patch)
tree770818b94a41407f98867210a05f1ae62b116498
parent9b009636f8df6bcef99f1dd985b997e292bac787 (diff)
downloademacs.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.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.el b/init.el
index 1079722..1bf0817 100644
--- a/init.el
+++ b/init.el
@@ -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")))