summaryrefslogtreecommitdiff
path: root/lisp/progmodes/compile.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2010-01-09 16:14:50 -0500
committerChong Yidong <cyd@stupidchicken.com>2010-01-09 16:14:50 -0500
commitdc5ab4cae99de05b1a4de973745b9153ed46d263 (patch)
tree68eb6dc2657a0ef7d8f9a265782ea9397579c689 /lisp/progmodes/compile.el
parentaa466028b0f5c6d886af742289dd9a861eab23aa (diff)
downloademacs-dc5ab4cae99de05b1a4de973745b9153ed46d263.tar.gz
* compile.el (compilation-read-command): Doc fix.
Diffstat (limited to 'lisp/progmodes/compile.el')
-rw-r--r--lisp/progmodes/compile.el7
1 files changed, 6 insertions, 1 deletions
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)