From: Glenn Morris Date: Fri, 3 Aug 2007 03:20:00 +0000 (+0000) Subject: (telnet-mode): Set comint-use-prompt-regexp to t. X-Git-Tag: emacs-pretest-23.0.90~11618 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3b7a686f5450b7ebda37082050064fb8c5726ec0;p=emacs.git (telnet-mode): Set comint-use-prompt-regexp to t. --- diff --git a/lisp/net/telnet.el b/lisp/net/telnet.el index c7b37050ed2..28f7d1ddb46 100644 --- a/lisp/net/telnet.el +++ b/lisp/net/telnet.el @@ -247,7 +247,8 @@ It has most of the same commands as comint-mode. 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]*>\\)")