Function: without-local-variable-queries
without-local-variable-queries is a macro defined in files.el.gz.
Signature
(without-local-variable-queries &rest BODY)
Documentation
Execute BODY without querying user about local variable values.
In some uses, this is a workaround for the problem that a command
disables displaying new windows for its own reasons but this also breaks
hack-local-variables-confirm. See Emacs bug#80528 and bug#81233.
Source Code
;; Defined in /usr/src/emacs/lisp/files.el.gz
(defmacro without-local-variable-queries (&rest body)
"Execute BODY without querying user about local variable values.
In some uses, this is a workaround for the problem that a command
disables displaying new windows for its own reasons but this also breaks
`hack-local-variables-confirm'. See Emacs bug#80528 and bug#81233."
(declare (indent 0) (debug t))
`(let ((enable-local-variables
(if (memq enable-local-variables '(:safe :all nil))
enable-local-variables
:safe)))
,@body))