Mercurial > emacs
changeset 78399:42a0615ad1fa
(telnet-mode): Set comint-use-prompt-regexp to t.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Fri, 03 Aug 2007 03:20:36 +0000 |
parents | cb21861af59b |
children | b399a27d1b5c |
files | lisp/net/telnet.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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]*>\\)")