From 293f65e21ae86a87396dd568a865f62a31b48d1e Mon Sep 17 00:00:00 2001 From: Willem van den Ende Date: Thu, 16 Feb 2023 11:30:58 +0000 Subject: [PATCH] prevent emacs from asking for local variables --- config.el | 4 ++++ custom.el | 14 +++++++------- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/config.el b/config.el index 396e4e9..171b298 100644 --- a/config.el +++ b/config.el @@ -26,6 +26,10 @@ ;; available. You can either set `doom-theme' or manually load a theme with the ;; `load-theme' function. This is the default: (setq doom-theme 'doom-solarized-light) + +;; prevent emacs from asking about variables on startup +(setq-default enable-local-variables t) + ;; general editor customizations (setq display-line-numbers-type 'relative) (setq linum-format "%3d \u2502'") diff --git a/custom.el b/custom.el index 0fbb26c..f5066e1 100644 --- a/custom.el +++ b/custom.el @@ -6,7 +6,7 @@ '(ansi-color-names-vector ["#282c34" "#ff6c6b" "#98be65" "#ECBE7B" "#51afef" "#c678dd" "#46D9FF" "#bbc2cf"]) '(custom-safe-themes - '("cf922a7a5c514fad79c483048257c5d8f242b21987af0db813d3f0b138dfaf53" "1d5e33500bc9548f800f9e248b57d1b2a9ecde79cb40c0b1398dec51ee820daf" "4f1d2476c290eaa5d9ab9d13b60f2c0f1c8fa7703596fa91b235db7f99a9441b" default)) + '("636b135e4b7c86ac41375da39ade929e2bd6439de8901f53f88fde7dd5ac3561" "cf922a7a5c514fad79c483048257c5d8f242b21987af0db813d3f0b138dfaf53" "1d5e33500bc9548f800f9e248b57d1b2a9ecde79cb40c0b1398dec51ee820daf" "4f1d2476c290eaa5d9ab9d13b60f2c0f1c8fa7703596fa91b235db7f99a9441b" default)) '(exwm-floating-border-color "#191b20") '(fci-rule-color "#5B6268") '(highlight-tail-colors @@ -16,10 +16,10 @@ . 20))) '(ignored-local-variable-values '((eval setq-local org-roam-db-location - (expand-file-name "org-roam.db" org-roam-directory)) + (expand-file-name "org-roam.db" org-roam-directory)) (eval setq-local org-roam-directory - (expand-file-name - (locate-dominating-file default-directory ".dir-locals.el"))))) + (expand-file-name + (locate-dominating-file default-directory ".dir-locals.el"))))) '(jdee-db-active-breakpoint-face-colors (cons "#1B2229" "#51afef")) '(jdee-db-requested-breakpoint-face-colors (cons "#1B2229" "#98be65")) '(jdee-db-spec-breakpoint-face-colors (cons "#1B2229" "#3f444a")) @@ -31,10 +31,10 @@ ["#282c34" "#ff6c6b" "#98be65" "#ECBE7B" "#51afef" "#c678dd" "#46D9FF" "#bbc2cf"]) '(safe-local-variable-values '((eval setq-local org-roam-db-location - (expand-file-name "org-roam.db" org-roam-directory)) + (expand-file-name "org-roam.db" org-roam-directory)) (eval setq-local org-roam-directory - (expand-file-name - (locate-dominating-file default-directory ".dir-locals.el"))))) + (expand-file-name + (locate-dominating-file default-directory ".dir-locals.el"))))) '(vc-annotate-background "#282c34") '(vc-annotate-color-map (list