# HG changeset patch # User Glenn Morris # Date 1186111236 0 # Node ID 42a0615ad1fadfe2166ade693ba6ce841f339be3 # Parent cb21861af59b425f56abb7f0080036c64b86e3c8 (telnet-mode): Set comint-use-prompt-regexp to t. diff -r cb21861af59b -r 42a0615ad1fa lisp/net/telnet.el --- a/lisp/net/telnet.el Fri Aug 03 03:19:07 2007 +0000 +++ b/lisp/net/telnet.el Fri Aug 03 03:20:36 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]*>\\)")