safe-local-eval-forms

safe-local-eval-forms is a variable defined in `files.el'.
Its value is

((add-hook 'write-file-hooks 'time-stamp) (add-hook 'write-file-functions 'time-stamp) (add-hook 'before-save-hook 'time-stamp nil t) (add-hook 'before-save-hook 'delete-trailing-whitespace nil t))

  • This variable may be risky if used as a file-local variable.

Documentation:
Expressions that are considered safe in an `eval:' local variable.
Add expressions to this list if you want Emacs to evaluate them, when
they appear in an `eval' local variable specification, without first
asking you for confirmation.

You can customize this variable.

This variable was introduced, or its default value was changed, in version 24.1 of Emacs.