From 9b009636f8df6bcef99f1dd985b997e292bac787 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Thu, 18 Jan 2018 23:51:40 -0500 Subject: Add support for a second dir-locals-file Based on https://emacs.stackexchange.com/questions/4267/how-can-i-have-a-second-dir-locals --- init.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/init.el b/init.el index a815c01..1079722 100644 --- a/init.el +++ b/init.el @@ -2387,6 +2387,13 @@ visible-bell t enable-recursive-minibuffers t) +(advice-add + 'hack-dir-local-variables :around + (lambda (fn) + (let ((dir-locals-file ".dir-locals-2.el")) + (funcall fn))) + '((name . "dir-locals-2"))) + (setq bookmark-save-flag nil) (use-package savehist -- cgit v1.2.3