aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2005-08-20 21:47:40 +0000
committerRichard M. Stallman <[email protected]>2005-08-20 21:47:40 +0000
commit32993501da2a61b739c6c65fb42f16e3d3554272 (patch)
treee0a5dca7a14e02ec2f88f4493bf097a7e3b9c62a /lisp/progmodes
parent93ef35e4042fcfc7ca31c1593ae9a3d46a0e306e (diff)
(grep): Bind compilation-disable-input to t.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/grep.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index d6387d3901..5c3ce5ec34 100644
--- a/lisp/progmodes/grep.el
+++ b/lisp/progmodes/grep.el
@@ -517,7 +517,8 @@ temporarily highlight in visited source lines."
;; Setting process-setup-function makes exit-message-function work
;; even when async processes aren't supported.
- (let ((compilation-process-setup-function 'grep-process-setup))
+ (let ((compilation-process-setup-function 'grep-process-setup)
+ (compilation-disable-input t))
(compilation-start (if (and grep-use-null-device null-device)
(concat command-args " " null-device)
command-args)