Commit 34481ea1 authored by Chong Yidong's avatar Chong Yidong
Browse files

Note that specifying a minor mode as a local variables enables that

mode.
parent 645b9326
...@@ -73,17 +73,21 @@ source while in the midst of loading another file (e.g., with ...@@ -73,17 +73,21 @@ source while in the midst of loading another file (e.g., with
to be corrupted once the outer load completed. Most code doesn't care to be corrupted once the outer load completed. Most code doesn't care
about this, but some (like c-mode) may check it. about this, but some (like c-mode) may check it.
** New command to add a file-local variable to the "Local Variables" list ** File-local variable changes
in the current buffer is `add-file-local-variable'. New command to remove
a file-local variable from the "Local Variables" list is *** Specifying a minor mode as a local variables enables that mode,
`delete-file-local-variable'. New commands to add/remove a file-local unconditionally. The previous behavior, toggling the mode, was
variable to/from the -*- line at the beginning of the buffer are neither reliable nor generally desirable.
`add-file-local-variable-prop-line' and `delete-file-local-variable-prop-line'.
New commands to add/remove a directory-local variable to/from the *** New commands for adding and removing file-local variables:
.dir-locals.el file are `add-dir-local-variable' and `add-file-local-variable', `delete-file-local-variable',
`delete-dir-local-variable'. New commands to copy directory-local `add-file-local-variable-prop-line', and
variables to file-local variables in the "Local Variables" list or the `delete-file-local-variable-prop-line'.
-*- line and vice versa are `copy-dir-locals-to-file-locals',
*** New commands for adding and removing directory-local variables,
and copying them to and from file-local variable lists:
`add-dir-local-variable', `delete-dir-local-variable',
`copy-dir-locals-to-file-locals',
`copy-dir-locals-to-file-locals-prop-line' and `copy-dir-locals-to-file-locals-prop-line' and
`copy-file-locals-to-dir-locals'. `copy-file-locals-to-dir-locals'.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment