Function: copy-dir-locals-to-file-locals-prop-line
copy-dir-locals-to-file-locals-prop-line is an autoloaded, interactive
and byte-compiled function defined in files-x.el.gz.
Signature
(copy-dir-locals-to-file-locals-prop-line)
Documentation
Copy directory-local variables to the -*- line.
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 copy-dir-locals-to-file-locals-prop-line ()
"Copy directory-local variables to the -*- line."
(interactive)
(dolist (elt dir-local-variables-alist)
(add-file-local-variable-prop-line (car elt) (cdr elt))))