summaryrefslogtreecommitdiff
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
commit36be137f5bc12169266e2f7d7a76099344212ae9 (patch)
treeda309f2b53f2787d853fda8c69c4e19578b92cb9
parent06b5cd545d4b0bca01938eab6dd5396f18e8bf86 (diff)
downloademacs-36be137f5bc12169266e2f7d7a76099344212ae9.tar.gz
(telnet): Use comint-canonicalize-args.
-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))