lang/emacs-lisp: Replace sym with var in +emacs-lisp-log-unsafe-local-variables-a
Otherwise it will make Emacs to error with (void-variable sym) error when checking the variable.
This commit is contained in:
parent
48322af020
commit
0a2ed4d346
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ employed so that flycheck still does *some* helpful linting.")
|
||||||
(message "Ignoring unsafe form in file local variable: %S" val)))
|
(message "Ignoring unsafe form in file local variable: %S" val)))
|
||||||
((not (safe-local-variable-p var val))
|
((not (safe-local-variable-p var val))
|
||||||
(message "Ignoring unsafe file local variable: %S" var))
|
(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))))))
|
(message "Ignoring risky file local variable: %S" var))))))
|
||||||
:config
|
:config
|
||||||
(set-repl-handler! '(emacs-lisp-mode lisp-interaction-mode) #'+emacs-lisp/open-repl)
|
(set-repl-handler! '(emacs-lisp-mode lisp-interaction-mode) #'+emacs-lisp/open-repl)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue