mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-25 07:28:20 +00:00
(telnet): Do erase-buffer after the initial output.
This commit is contained in:
parent
134994aee8
commit
628ed36619
@ -157,9 +157,9 @@ Normally input is edited in Emacs and sent a line at a time."
|
||||
(let ((name (concat arg "-telnet" )))
|
||||
(switch-to-buffer (make-comint name "telnet"))
|
||||
(set-process-filter (get-process name) 'telnet-initial-filter)
|
||||
(erase-buffer)
|
||||
;; Don't send the `open' cmd till telnet is ready for it.
|
||||
(accept-process-output (get-process name))
|
||||
(erase-buffer)
|
||||
(send-string name (concat "open " arg "\n"))
|
||||
(telnet-mode)
|
||||
(setq telnet-count telnet-initial-count)))
|
||||
|
Loading…
Reference in New Issue
Block a user