emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r99285: * compile.el (compilation-rea


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r99285: * compile.el (compilation-read-command): Doc fix.
Date: Sat, 09 Jan 2010 16:14:50 -0500
User-agent: Bazaar (2.0.2)

------------------------------------------------------------
revno: 99285
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Sat 2010-01-09 16:14:50 -0500
message:
  * compile.el (compilation-read-command): Doc fix.
modified:
  lisp/progmodes/compile.el
=== modified file 'lisp/progmodes/compile.el'
--- a/lisp/progmodes/compile.el 2010-01-09 20:53:55 +0000
+++ b/lisp/progmodes/compile.el 2010-01-09 21:14:50 +0000
@@ -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)
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]