From 27cbeef99f0e93a04aac0eae4eb79acd4921ce3b Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sat, 20 Jan 2018 22:11:18 -0500 Subject: 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 --- init.el | 1 + 1 file changed, 1 insertion(+) 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"))) -- cgit v1.2.3