summaryrefslogtreecommitdiff
path: root/lisp/telnet.el
diff options
context:
space:
mode:
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))