From: Chong Yidong Date: Tue, 14 Feb 2006 14:44:32 +0000 (+0000) Subject: * NEWS: Changes in handling of file local variables. X-Git-Tag: emacs-pretest-22.0.90~4139 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=542f7c55b40c5c020777b283c22702c88c5080d6;p=emacs.git * NEWS: Changes in handling of file local variables. --- diff --git a/etc/ChangeLog b/etc/ChangeLog index ebdd0a3c41a..565b2d3e220 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog @@ -1,3 +1,7 @@ +2006-02-14 Chong Yidong + + * NEWS: Changes in handling of file local variables. + 2006-02-14 Jan Dj,Ad(Brv * NEWS: Gtk+ 2.4 is required. diff --git a/etc/NEWS b/etc/NEWS index 51549f7f4a0..def357fcdfe 100644 --- 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.