changeset 82254:368110c6f6e6

(telnet-mode): Fix previous change.
author Glenn Morris <rgm@gnu.org>
date Fri, 03 Aug 2007 17:09:01 +0000
parents e100ad942371
children eea3be43d1de
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 13:52:35 2007 +0000
+++ b/lisp/net/telnet.el	Fri Aug 03 17:09:01 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]*>\\)")