Commit 202af1a2 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(telnet): Use comint-canonicalize-args.

parent 660a52f9
......@@ -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))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment