I want to put some config outside my init.el
file into .dir-locals.el
, i.e the following:
((nil
(let ((dirs '(".cask" "core" "packages" "modules" "snippets" "themes")))
(mapc #'(lambda (path) (add-to-list 'projectile-globally-ignored-directories path)) dirs))))
But each time i'm trying to open any file in my .emacs.d
folder, emacs asks me if it's save to apply this code. I've tried to silence it by setting file local vars:
;; -*- enable-local-variables: t; enable-local-eval: t -*-
and it didn't help at all, on the contrary adds another message to trust these local settings. How can i make it trust my .dir-locals.el
code?
let