summaryrefslogtreecommitdiff
path: root/lisp/net/telnet.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/net/telnet.el')
-rw-r--r--lisp/net/telnet.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/telnet.el b/lisp/net/telnet.el
index 28f7d1ddb46..ef01c96ec8e 100644
--- a/lisp/net/telnet.el
+++ b/lisp/net/telnet.el
@@ -248,7 +248,7 @@ There is a variable ``telnet-interrupt-string'' which is the character
sent to try to stop execution of a job on the remote host.
Data is sent to the remote host when RET is typed."
(set (make-local-variable 'comint-prompt-regexp) telnet-prompt-pattern)
- (setq comint-use-prompt-regexp t))
+ (set (make-local-variable 'comint-use-prompt-regexp) t))
;;;###autoload (add-hook 'same-window-regexps "\\*rsh-[^-]*\\*\\(\\|<[0-9]*>\\)")