.emacs-my
changeset 1710 03f26aaabbfa
parent 1709 5946ac9f14c7
child 1711 621215ccccf9
--- a/.emacs-my	Sat Jan 30 20:26:42 2021 +0200
+++ b/.emacs-my	Sat Jan 30 20:27:52 2021 +0200
@@ -741,6 +741,17 @@
     (server-start)) )
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+(message "file local variables/ dir local variables")
+
+(setq enable-dir-local-variables t)
+
+;; Prompt before evaluating potencially dangerous foreign elisp!
+(setq enable-local-variables :safe)
+(setq enable-local-eval :maybe)
+
+;; See also `safe-local-eval-forms' & `safe-local-variable-values'.
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 (message "standart/general settings")
 
 ;; Try to speed things up, especially in VM.
@@ -758,11 +769,6 @@
 
 (setq enable-recursive-minibuffers t)
 
-;; Prompt before evaluating local bits of lisp.  This stops people
-;; putting things at the end of files which delete all your files!
-(setq enable-local-variables :safe
-      enable-local-eval      1)
-
 (setq kill-whole-line t)
 
 ;; Disable because of bug with gettext.el. See