aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2009-08-04 23:51:32 +0000
committerJuri Linkov2009-08-04 23:51:32 +0000
commit82941b5e55d656bb56efa4d60cd62644d34f52e7 (patch)
treea77b4be780866217dab8d48f3623b3f2ef281d0d
parentb36f028e9e432a4719d7ea6b9aadf2e31930256f (diff)
downloademacs-82941b5e55d656bb56efa4d60cd62644d34f52e7.tar.gz
emacs-82941b5e55d656bb56efa4d60cd62644d34f52e7.zip
Commands to add/delete file/directory-local variables.
-rw-r--r--etc/NEWS14
1 files changed, 14 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index b96618f497d..6f7b657c743 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -71,6 +71,20 @@ source while in the midst of loading another file (e.g., with
71to be corrupted once the outer load completed. Most code doesn't care 71to be corrupted once the outer load completed. Most code doesn't care
72about this, but some (like c-mode) may check it. 72about this, but some (like c-mode) may check it.
73 73
74** New command to add a file-local variable to the "Local Variables" list
75in the current buffer is `add-file-local-variable'. New command to remove
76a file-local variable from the "Local Variables" list is
77`delete-file-local-variable'. New commands to add/remove a file-local
78variable to/from the -*- line at the beginning of the buffer are
79`add-file-local-variable-prop-line' and `delete-file-local-variable-prop-line'.
80New commands to add/remove a directory-local variable to/from the
81.dir-locals.el file are `add-dir-local-variable' and
82`delete-dir-local-variable'. New commands to copy directory-local
83variables to file-local variables in the "Local Variables" list or the
84-*- line and vice versa are `copy-dir-locals-to-file-locals',
85`copy-dir-locals-to-file-locals-prop-line' and
86`copy-file-locals-to-dir-locals'.
87
74 88
75* Editing Changes in Emacs 23.2 89* Editing Changes in Emacs 23.2
76 90