Function: delete-file-local-variable
delete-file-local-variable is an autoloaded, interactive and
byte-compiled function defined in files-x.el.gz.
Signature
(delete-file-local-variable VARIABLE &optional INTERACTIVE)
Documentation
Delete all settings of file-local VARIABLE from the Local Variables list.
If optional variable INTERACTIVE is non-nil, display a message telling the user how to make the new value take effect.
Probably introduced at or before Emacs version 23.2.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/files-x.el.gz
;;;###autoload
(defun delete-file-local-variable (variable &optional interactive)
"Delete all settings of file-local VARIABLE from the Local Variables list.
If optional variable INTERACTIVE is non-nil, display a message telling
the user how to make the new value take effect."
(interactive
(list (read-file-local-variable "Delete file-local variable") t))
(modify-file-local-variable variable nil 'delete interactive))