Merge pull request #4990 from Wetlize/patch-1

lang/emacs-lisp: Replace sym with var in +emacs-lisp-log-unsafe-local-variables-a
This commit is contained in:
Henrik Lissner 2021-05-06 13:06:03 -04:00 committed by GitHub
commit 26a0244f03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,7 @@ employed so that flycheck still does *some* helpful linting.")
(message "Ignoring unsafe form in file local variable: %S" val)))
((not (safe-local-variable-p var val))
(message "Ignoring unsafe file local variable: %S" var))
((get sym 'risky-local-variable)
((get var 'risky-local-variable)
(message "Ignoring risky file local variable: %S" var))))))
:config
(set-repl-handler! '(emacs-lisp-mode lisp-interaction-mode) #'+emacs-lisp/open-repl)