1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-21 05:00:47 -08:00

(telnet): Use comint-canonicalize-args.

This commit is contained in:
Richard M. Stallman 1993-12-24 03:07:30 +00:00
parent 660a52f9c9
commit 202af1a239

View file

@ -183,6 +183,7 @@ rejecting one login and prompting for the again for a username and password.")
Communication with HOST is recorded in a buffer *HOST-telnet*.
Normally input is edited in Emacs and sent a line at a time."
(interactive "sOpen telnet connection to host: ")
(setq host (comint-canonicalize-args host))
(let* ((name (concat host "-telnet" ))
(buffer (get-buffer (concat "*" name "*"))))
(if (and buffer (get-buffer-process buffer))