changeset 78405:30f0c1ae324d

(telnet-mode): Fix previous change.
author Glenn Morris <rgm@gnu.org>
date Fri, 03 Aug 2007 17:09:43 +0000
parents 27f00e50116a
children cec8ab53d108
files lisp/net/telnet.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/net/telnet.el	Fri Aug 03 05:09:21 2007 +0000
+++ b/lisp/net/telnet.el	Fri Aug 03 17:09:43 2007 +0000
@@ -248,7 +248,7 @@
 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]*>\\)")