summaryrefslogtreecommitdiff
path: root/lisp/telnet.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/telnet.el')
-rw-r--r--lisp/telnet.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/telnet.el b/lisp/telnet.el
index 4422c17032d..e1146a8eedf 100644
--- a/lisp/telnet.el
+++ b/lisp/telnet.el
@@ -215,7 +215,7 @@ Normally input is edited in Emacs and sent a line at a time."
(interactive "sOpen rsh connection to host: ")
(require 'shell)
(let ((name (concat host "-rsh" )))
- (switch-to-buffer (make-comint name "rsh"))
+ (switch-to-buffer (make-comint name "rsh" nil host))
(set-process-filter (get-process name) 'telnet-initial-filter)
(telnet-mode)
(setq telnet-count -16)))