]> git.eshelyaron.com Git - emacs.git/commitdiff
* NEWS: Changes in handling of file local variables.
authorChong Yidong <cyd@stupidchicken.com>
Tue, 14 Feb 2006 14:44:32 +0000 (14:44 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Tue, 14 Feb 2006 14:44:32 +0000 (14:44 +0000)
etc/ChangeLog
etc/NEWS

index ebdd0a3c41ae63fb92793be425667d4c20a59a0f..565b2d3e22015a9d83bacb05d6df60189e3da7c5 100644 (file)
@@ -1,3 +1,7 @@
+2006-02-14  Chong Yidong  <cyd@stupidchicken.com>
+
+       * NEWS: Changes in handling of file local variables.
+
 2006-02-14  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
 
        * NEWS: Gtk+ 2.4 is required.
index 51549f7f4a041ac300647de6493eef64275fc98c..def357fcdfe94ac25d2a2126f9eb001f2962ce8e 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -574,6 +574,21 @@ is only rarely needed.
 *** In processing a local variables list, Emacs strips the prefix and
 suffix from every line before processing all the lines.
 
++++
+*** If the local variables list contains any variable-value pairs that
+are not known to be safe, Emacs shows a prompt asking whether to apply
+the local variables list as a whole.  In earlier versions, a prompt
+was only issued for variables explicitly marked as risky (for the
+definition of risky variables, see `risky-local-variable-p').
+
+At the prompt, the user can choose to save the contents of this local
+variables list to `safe-local-variable-values'.  This new customizable
+option is a list of variable-value pairs that are known to be safe.
+Variables can also be marked as safe with the existing
+`safe-local-variable' property (see `safe-local-variable-p').
+However, risky variables will not be added to
+`safe-local-variable-values' in this way.
+
 +++
 *** find-file-read-only visits multiple files in read-only mode,
 when the file name contains wildcard characters.