invocation of telnet, if the buffer is already selected, Edwin
complains that there is no process for the buffer.
#| -*-Scheme-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/telnet.scm,v 1.4 1991/10/25 00:03:22 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/telnet.scm,v 1.5 1991/11/22 20:29:27 arthur Exp $
Copyright (c) 1991 Massachusetts Institute of Technology
(set-variable! comint-prompt-regexp
(or (ref-variable telnet-prompt-pattern)
(ref-variable shell-prompt-pattern)))
- (let ((process (current-process)))
+ (let ((process (get-buffer-process (current-buffer))))
(if process
(set-process-filter! process
(make-telnet-filter process))))