mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-26 10:49:33 +00:00
(unsafep-variable): Pass second arg to risky-local-variable-p.
This commit is contained in:
parent
0d8781d856
commit
40e18430f5
@ -250,7 +250,7 @@ is okay if GLOBAL-OKAY is non-nil."
|
||||
(cond
|
||||
((not (symbolp sym))
|
||||
`(variable ,sym))
|
||||
((risky-local-variable-p sym)
|
||||
((risky-local-variable-p sym nil)
|
||||
`(risky-local-variable ,sym))
|
||||
((not (or global-okay
|
||||
(memq sym unsafep-vars)
|
||||
|
Loading…
Reference in New Issue
Block a user