Comment change.

This commit is contained in:
Richard M. Stallman 2001-12-26 21:27:54 +00:00
parent 492e159bb0
commit 62728cf048
2 changed files with 3 additions and 1 deletions

View file

@ -728,6 +728,7 @@ buffer. The hook `comint-exec-hook' is run after each exec."
;; and there is no way for us to define it here.
;; Some programs that use terminfo get very confused
;; if TERM is not a valid terminal type.
;; ;; There is similar code in compile.el.
(if (and (boundp 'system-uses-terminfo) system-uses-terminfo)
(list "TERM=dumb" "TERMCAP="
(format "COLUMNS=%d" (window-width)))

View file

@ -903,7 +903,8 @@ Returns the compilation buffer created."
(proc (start-process-shell-command (downcase mode-name)
outbuf
command)))
;; Set the terminal type
;; Set the terminal type.
;; There is similar code in comint.el.
(setq process-environment
(if (and (boundp 'system-uses-terminfo)
system-uses-terminfo)