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.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/net/telnet.el b/lisp/net/telnet.el
index 29c415e6a65..872c9f634e6 100644
--- a/lisp/net/telnet.el
+++ b/lisp/net/telnet.el
@@ -253,9 +253,9 @@ 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."
(setq-local revert-buffer-function 'telnet-revert-buffer)
- (set (make-local-variable 'window-point-insertion-type) t)
- (set (make-local-variable 'comint-prompt-regexp) telnet-prompt-pattern)
- (set (make-local-variable 'comint-use-prompt-regexp) t))
+ (setq-local window-point-insertion-type t)
+ (setq-local comint-prompt-regexp telnet-prompt-pattern)
+ (setq-local comint-use-prompt-regexp t))
;;;###autoload
(defun rsh (host)