risky-local-variable-p

risky-local-variable-p is a compiled Lisp function in `files.el'.

(risky-local-variable-p SYM &optional IGNORED)

Non-nil if SYM could be dangerous as a file-local variable.
It is dangerous if either of these conditions are met:

* Its `risky-local-variable' property is non-nil.

* Its name ends with "hook(s)", "function(s)", "form(s)", "map",
"program", "command(s)", "predicate(s)", "frame-alist",
"mode-alist", "font-lock-(syntactic-)keyword*",
"map-alist", or "bindat-spec".