# HG changeset patch # User Glenn Morris # Date 1186111200 0 # Node ID 54e0d414b1de4014c16c60f29f9b619ffe3683cb # Parent ea6a4238388e94282576f8664627e9bd715fce77 (telnet-mode): Set comint-use-prompt-regexp to t. diff -r ea6a4238388e -r 54e0d414b1de lisp/net/telnet.el --- a/lisp/net/telnet.el Fri Aug 03 03:19:36 2007 +0000 +++ b/lisp/net/telnet.el Fri Aug 03 03:20:00 2007 +0000 @@ -247,7 +247,8 @@ 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)) + (set (make-local-variable 'comint-prompt-regexp) telnet-prompt-pattern) + (setq comint-use-prompt-regexp t)) ;;;###autoload (add-hook 'same-window-regexps "\\*rsh-[^-]*\\*\\(\\|<[0-9]*>\\)")