changeset 106779:57e095b90f5b

* compile.el (compilation-read-command): Doc fix.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 09 Jan 2010 16:14:50 -0500
parents 95040dd9104b
children 85fd976607be
files lisp/progmodes/compile.el
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/compile.el	Sat Jan 09 22:03:33 2010 +0100
+++ b/lisp/progmodes/compile.el	Sat Jan 09 16:14:50 2010 -0500
@@ -567,7 +567,12 @@
 
 (defcustom compilation-read-command t
   "Non-nil means \\[compile] reads the compilation command to use.
-Otherwise, \\[compile] just uses the value of `compile-command'."
+Otherwise, \\[compile] just uses the value of `compile-command'.
+
+Note that changing this to nil may be a security risk, because a
+file might define a malicious `compile-command' as a file local
+variable, and you might not notice.  Therefore, `compile-command'
+is considered unsafe if this variable is nil."
   :type 'boolean
   :group 'compilation)