aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2006-07-19 02:22:51 +0000
committerChong Yidong2006-07-19 02:22:51 +0000
commitfce10019388760b528ee131e7182b2236154b692 (patch)
treecb7a6be308a4f89f94eaf27602ca13e55a54fe8e
parent1ef252f636b11627d4e2d528ff5e952e407cfe3d (diff)
downloademacs-fce10019388760b528ee131e7182b2236154b692.tar.gz
emacs-fce10019388760b528ee131e7182b2236154b692.zip
* faq.texi (Security risks with Emacs): Document Emacs 22
file-local-variable mechanism.
-rw-r--r--man/ChangeLog5
-rw-r--r--man/faq.texi14
2 files changed, 11 insertions, 8 deletions
diff --git a/man/ChangeLog b/man/ChangeLog
index 86157a2c008..1707b837b6e 100644
--- a/man/ChangeLog
+++ b/man/ChangeLog
@@ -1,3 +1,8 @@
12006-07-18 Chong Yidong <cyd@stupidchicken.com>
2
3 * faq.texi (Security risks with Emacs): Document Emacs 22
4 file-local-variable mechanism.
5
12006-07-17 Richard Stallman <rms@gnu.org> 62006-07-17 Richard Stallman <rms@gnu.org>
2 7
3 * building.texi (Grep Searching): Explain about chaining grep commands. 8 * building.texi (Grep Searching): Explain about chaining grep commands.
diff --git a/man/faq.texi b/man/faq.texi
index 5fc21eb8575..d431dd360c0 100644
--- a/man/faq.texi
+++ b/man/faq.texi
@@ -3125,14 +3125,12 @@ arbitrary Emacs Lisp code evaluated when the file is visited.
3125Obviously, there is a potential for Trojan horses to exploit this 3125Obviously, there is a potential for Trojan horses to exploit this
3126feature. 3126feature.
3127 3127
3128Emacs 18 allowed this feature by default; users could disable it by 3128As of Emacs 22, Emacs has a list of local variables that are known to
3129setting the variable @code{inhibit-local-variables} to a non-@code{nil} value. 3129be safe to set. If a file tries to set any variable outside this
3130 3130list, it asks the user to confirm whether the variables should be set.
3131As of Emacs 19, Emacs has a list of local variables that create a 3131You can also tell Emacs whether to allow the evaluation of Emacs Lisp
3132security risk. If a file tries to set one of them, it asks the user to 3132code found at the bottom of files by setting the variable
3133confirm whether the variables should be set. You can also tell Emacs 3133@code{enable-local-eval}.
3134whether to allow the evaluation of Emacs Lisp code found at the bottom
3135of files by setting the variable @code{enable-local-eval}.
3136 3134
3137For more information, @inforef{File Variables, File Variables, emacs}. 3135For more information, @inforef{File Variables, File Variables, emacs}.
3138 3136