Mercurial > emacs
comparison lisp/progmodes/grep.el @ 65056:fb6294015f51
(grep): Bind compilation-disable-input to t.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 20 Aug 2005 21:47:40 +0000 |
parents | c845f6151d83 |
children | 559a37c2f306 |
comparison
equal
deleted
inserted
replaced
65055:0b9598224a95 | 65056:fb6294015f51 |
---|---|
515 nil nil 'grep-history | 515 nil nil 'grep-history |
516 (if current-prefix-arg nil default)))))) | 516 (if current-prefix-arg nil default)))))) |
517 | 517 |
518 ;; Setting process-setup-function makes exit-message-function work | 518 ;; Setting process-setup-function makes exit-message-function work |
519 ;; even when async processes aren't supported. | 519 ;; even when async processes aren't supported. |
520 (let ((compilation-process-setup-function 'grep-process-setup)) | 520 (let ((compilation-process-setup-function 'grep-process-setup) |
521 (compilation-disable-input t)) | |
521 (compilation-start (if (and grep-use-null-device null-device) | 522 (compilation-start (if (and grep-use-null-device null-device) |
522 (concat command-args " " null-device) | 523 (concat command-args " " null-device) |
523 command-args) | 524 command-args) |
524 'grep-mode nil highlight-regexp))) | 525 'grep-mode nil highlight-regexp))) |
525 | 526 |