summaryrefslogtreecommitdiff
path: root/lisp/telnet.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-12-24 03:07:30 +0000
committerRichard M. Stallman <rms@gnu.org>1993-12-24 03:07:30 +0000
commit202af1a239aee4af7ac251b2092496184edbcc4c (patch)
tree8b945856b8382904cb268b4bdbc3b64b00e65b22 /lisp/telnet.el
parent660a52f9c9cab18c9b2d197176cd43c9f5a62c2d (diff)
downloademacs-202af1a239aee4af7ac251b2092496184edbcc4c.tar.gz
(telnet): Use comint-canonicalize-args.
Diffstat (limited to 'lisp/telnet.el')
-rw-r--r--lisp/telnet.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/telnet.el b/lisp/telnet.el
index 871e1f18213..752883533e3 100644
--- a/lisp/telnet.el
+++ b/lisp/telnet.el
@@ -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))