]> code.delx.au - gnu-emacs/commitdiff
* faq.texi (Security risks with Emacs): Document Emacs 22
authorChong Yidong <cyd@stupidchicken.com>
Wed, 19 Jul 2006 02:22:51 +0000 (02:22 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Wed, 19 Jul 2006 02:22:51 +0000 (02:22 +0000)
file-local-variable mechanism.

man/ChangeLog
man/faq.texi

index 86157a2c008e577627ee5d844bddf9a92ec1ca87..1707b837b6e42166b93710d4c58c42715c8b44e5 100644 (file)
@@ -1,3 +1,8 @@
+2006-07-18  Chong Yidong  <cyd@stupidchicken.com>
+
+       * faq.texi (Security risks with Emacs): Document Emacs 22
+       file-local-variable mechanism.
+
 2006-07-17  Richard Stallman  <rms@gnu.org>
 
        * building.texi (Grep Searching): Explain about chaining grep commands.
index 5fc21eb8575584b5d2cb3d1c60cec0e98746f82d..d431dd360c0341eb46fd4c67bb8230b3393f471e 100644 (file)
@@ -3125,14 +3125,12 @@ arbitrary Emacs Lisp code evaluated when the file is visited.
 Obviously, there is a potential for Trojan horses to exploit this
 feature.
 
-Emacs 18 allowed this feature by default; users could disable it by
-setting the variable @code{inhibit-local-variables} to a non-@code{nil} value.
-
-As of Emacs 19, Emacs has a list of local variables that create a
-security risk.  If a file tries to set one of them, it asks the user to
-confirm whether the variables should be set.  You can also tell Emacs
-whether to allow the evaluation of Emacs Lisp code found at the bottom
-of files by setting the variable @code{enable-local-eval}.
+As of Emacs 22, Emacs has a list of local variables that are known to
+be safe to set.  If a file tries to set any variable outside this
+list, it asks the user to confirm whether the variables should be set.
+You can also tell Emacs whether to allow the evaluation of Emacs Lisp
+code found at the bottom of files by setting the variable
+@code{enable-local-eval}.
 
 For more information, @inforef{File Variables, File Variables, emacs}.