From: Michael Orlitzky Date: Fri, 28 Feb 2025 13:42:47 +0000 (-0500) Subject: .emacs: set enable-local-eval to nil X-Git-Url: http://gitweb.michael.orlitzky.com/?a=commitdiff_plain;p=emacs.d.git .emacs: set enable-local-eval to nil This is another stupid auto-execute-stuff-in-a-file vulnerability. --- diff --git a/.emacs b/.emacs index dbb5283..fedcc8b 100644 --- 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. +(setq enable-local-eval nil) (setq enable-local-variables nil) ;; Add the directory containing .emacs to the load-path.