diff options
author | Glenn Morris <rgm@gnu.org> | 2007-08-03 03:21:13 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2007-08-03 03:21:13 +0000 |
commit | 3ff67968417a2e78d5ff5bbed1878de9dca64557 (patch) | |
tree | e6f422dd06d200448b63310da8b5fe7aa14731f0 /lisp/net/telnet.el | |
parent | 501d63d62db20dedc26a803bcc601d89915f5c52 (diff) | |
download | emacs-3ff67968417a2e78d5ff5bbed1878de9dca64557.tar.gz |
(telnet-mode): Set comint-use-prompt-regexp to t.
Diffstat (limited to 'lisp/net/telnet.el')
-rw-r--r-- | lisp/net/telnet.el | 3 |
1 files changed, 2 insertions, 1 deletions
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]*>\\)") |