aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2009-08-17 23:50:26 +0000
committerChong Yidong2009-08-17 23:50:26 +0000
commit34481ea1f80687cf121dbc5cc11927b090c256a8 (patch)
tree0a15718e9b87f666f741cd71e6e1442d64035783
parent645b9326771220c10a7e33e18704f5668bece100 (diff)
downloademacs-34481ea1f80687cf121dbc5cc11927b090c256a8.tar.gz
emacs-34481ea1f80687cf121dbc5cc11927b090c256a8.zip
Note that specifying a minor mode as a local variables enables that
mode.
-rw-r--r--etc/NEWS26
1 files changed, 15 insertions, 11 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 96b3d92d7e3..ed2a33d22c6 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -73,17 +73,21 @@ source while in the midst of loading another file (e.g., with
73to be corrupted once the outer load completed. Most code doesn't care 73to be corrupted once the outer load completed. Most code doesn't care
74about this, but some (like c-mode) may check it. 74about this, but some (like c-mode) may check it.
75 75
76** New command to add a file-local variable to the "Local Variables" list 76** File-local variable changes
77in the current buffer is `add-file-local-variable'. New command to remove 77
78a file-local variable from the "Local Variables" list is 78*** Specifying a minor mode as a local variables enables that mode,
79`delete-file-local-variable'. New commands to add/remove a file-local 79unconditionally. The previous behavior, toggling the mode, was
80variable to/from the -*- line at the beginning of the buffer are 80neither reliable nor generally desirable.
81`add-file-local-variable-prop-line' and `delete-file-local-variable-prop-line'. 81
82New commands to add/remove a directory-local variable to/from the 82*** New commands for adding and removing file-local variables:
83.dir-locals.el file are `add-dir-local-variable' and 83`add-file-local-variable', `delete-file-local-variable',
84`delete-dir-local-variable'. New commands to copy directory-local 84`add-file-local-variable-prop-line', and
85variables to file-local variables in the "Local Variables" list or the 85`delete-file-local-variable-prop-line'.
86-*- line and vice versa are `copy-dir-locals-to-file-locals', 86
87*** New commands for adding and removing directory-local variables,
88and copying them to and from file-local variable lists:
89`add-dir-local-variable', `delete-dir-local-variable',
90`copy-dir-locals-to-file-locals',
87`copy-dir-locals-to-file-locals-prop-line' and 91`copy-dir-locals-to-file-locals-prop-line' and
88`copy-file-locals-to-dir-locals'. 92`copy-file-locals-to-dir-locals'.
89 93