]> gitweb.michael.orlitzky.com - emacs.d.git/commitdiff
.emacs: set enable-local-eval to nil master
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 28 Feb 2025 13:42:47 +0000 (08:42 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 28 Feb 2025 13:42:47 +0000 (08:42 -0500)
This is another stupid auto-execute-stuff-in-a-file vulnerability.

.emacs

diff --git a/.emacs b/.emacs
index dbb5283042cb101ea1c34e56c8350aa503baa531..fedcc8b4f742680ea98a2d66200f0e29556a75ee 100644 (file)
--- a/.emacs
+++ b/.emacs
@@ -56,6 +56,7 @@
 ;; Don't let the file's contents modify my editor, because that needs
 ;; to be said? More importantly, don't interrupt me to ask me if I
 ;; want to process the variables that emacs KNOWS are unsafe.
 ;; Don't let the file's contents modify my editor, because that needs
 ;; to be said? More importantly, don't interrupt me to ask me if I
 ;; want to process the variables that emacs KNOWS are unsafe.
+(setq enable-local-eval nil)
 (setq enable-local-variables nil)
 
 ;; Add the directory containing .emacs to the load-path.
 (setq enable-local-variables nil)
 
 ;; Add the directory containing .emacs to the load-path.