Mercurial > emacs
diff lisp/time.el @ 7017:6884e6e907c9
(display-time): Force use of pipe, not pty.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 22 Apr 1994 04:37:36 +0000 |
parents | 5e38d151ac1a |
children | cc7cd83ccf3f |
line wrap: on
line diff
--- a/lisp/time.el Fri Apr 22 04:31:27 1994 +0000 +++ b/lisp/time.el Fri Apr 22 04:37:36 1994 +0000 @@ -72,10 +72,13 @@ (setq global-mode-string (append global-mode-string '(display-time-string)))) (setq display-time-string "") - (setq display-time-process - (start-process "display-time" nil - (expand-file-name "wakeup" exec-directory) - (int-to-string display-time-interval))) + ;; Using a pty is wasteful, and the separate session causes + ;; annoyance sometimes (some systems kill idle sessions). + (let ((process-connection-type nil)) + (setq display-time-process + (start-process "display-time" nil + (expand-file-name "wakeup" exec-directory) + (int-to-string display-time-interval)))) (process-kill-without-query display-time-process) (set-process-sentinel display-time-process 'display-time-sentinel) (set-process-filter display-time-process 'display-time-filter)))))