diff options
| author | Richard M. Stallman | 2001-12-26 21:27:54 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2001-12-26 21:27:54 +0000 |
| commit | 62728cf048e9fc198818a32a2fb4a3f33c260169 (patch) | |
| tree | 96f6f44f9a13b6fbdf489c55a518b37769778cea | |
| parent | 492e159bb08378b31a67b58f353d55396f06d0f1 (diff) | |
| download | emacs-62728cf048e9fc198818a32a2fb4a3f33c260169.tar.gz emacs-62728cf048e9fc198818a32a2fb4a3f33c260169.zip | |
Comment change.
| -rw-r--r-- | lisp/comint.el | 1 | ||||
| -rw-r--r-- | lisp/progmodes/compile.el | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lisp/comint.el b/lisp/comint.el index 5a2e6f8cbcd..920cae62b83 100644 --- a/lisp/comint.el +++ b/lisp/comint.el | |||
| @@ -728,6 +728,7 @@ buffer. The hook `comint-exec-hook' is run after each exec." | |||
| 728 | ;; and there is no way for us to define it here. | 728 | ;; and there is no way for us to define it here. |
| 729 | ;; Some programs that use terminfo get very confused | 729 | ;; Some programs that use terminfo get very confused |
| 730 | ;; if TERM is not a valid terminal type. | 730 | ;; if TERM is not a valid terminal type. |
| 731 | ;; ;; There is similar code in compile.el. | ||
| 731 | (if (and (boundp 'system-uses-terminfo) system-uses-terminfo) | 732 | (if (and (boundp 'system-uses-terminfo) system-uses-terminfo) |
| 732 | (list "TERM=dumb" "TERMCAP=" | 733 | (list "TERM=dumb" "TERMCAP=" |
| 733 | (format "COLUMNS=%d" (window-width))) | 734 | (format "COLUMNS=%d" (window-width))) |
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index d58689b460a..4b2c3ae05df 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -903,7 +903,8 @@ Returns the compilation buffer created." | |||
| 903 | (proc (start-process-shell-command (downcase mode-name) | 903 | (proc (start-process-shell-command (downcase mode-name) |
| 904 | outbuf | 904 | outbuf |
| 905 | command))) | 905 | command))) |
| 906 | ;; Set the terminal type | 906 | ;; Set the terminal type. |
| 907 | ;; There is similar code in comint.el. | ||
| 907 | (setq process-environment | 908 | (setq process-environment |
| 908 | (if (and (boundp 'system-uses-terminfo) | 909 | (if (and (boundp 'system-uses-terminfo) |
| 909 | system-uses-terminfo) | 910 | system-uses-terminfo) |