changeset 68886:7273a522d975

* NEWS: Changes in handling of file local variables.
author Chong Yidong <cyd@stupidchicken.com>
date Tue, 14 Feb 2006 14:44:32 +0000
parents bf32a9fa6cd9
children 17c1f4fa776d
files etc/ChangeLog etc/NEWS
diffstat 2 files changed, 19 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/ChangeLog	Tue Feb 14 11:40:14 2006 +0000
+++ b/etc/ChangeLog	Tue Feb 14 14:44:32 2006 +0000
@@ -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,Ad(Brv  <jan.h.d@swipnet.se>
 
 	* NEWS: Gtk+ 2.4 is required.
--- a/etc/NEWS	Tue Feb 14 11:40:14 2006 +0000
+++ b/etc/NEWS	Tue Feb 14 14:44:32 2006 +0000
@@ -575,6 +575,21 @@
 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.