From: Chong Yidong Date: Sat, 9 Jan 2010 21:14:50 +0000 (-0500) Subject: * compile.el (compilation-read-command): Doc fix. X-Git-Tag: emacs-pretest-23.1.92~63 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4d9bbfa616fb135ff54a63fcd965923d48ca64f1;p=emacs.git * compile.el (compilation-read-command): Doc fix. --- diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 6b2b30edb96..0098caece92 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -567,7 +567,12 @@ especially the TAB character." (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)