aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2007-08-03 03:21:13 +0000
committerGlenn Morris2007-08-03 03:21:13 +0000
commit3ff67968417a2e78d5ff5bbed1878de9dca64557 (patch)
treee6f422dd06d200448b63310da8b5fe7aa14731f0
parent501d63d62db20dedc26a803bcc601d89915f5c52 (diff)
downloademacs-3ff67968417a2e78d5ff5bbed1878de9dca64557.tar.gz
emacs-3ff67968417a2e78d5ff5bbed1878de9dca64557.zip
(telnet-mode): Set comint-use-prompt-regexp to t.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/net/telnet.el3
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 1fd9ad36d9c..8b616275fa3 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12007-08-03 Glenn Morris <rgm@gnu.org>
2
3 * net/telnet.el (telnet-mode): Set comint-use-prompt-regexp to t.
4
12007-08-02 Richard Stallman <rms@gnu.org> 52007-08-02 Richard Stallman <rms@gnu.org>
2 6
3 * mail/rmailsum.el (rmail-make-summary-line): Find end of msg number 7 * mail/rmailsum.el (rmail-make-summary-line): Find end of msg number
@@ -8,7 +12,7 @@
8 12
9 * menu-bar.el (menu-bar-help-menu): Add "About GNU" menu item. 13 * menu-bar.el (menu-bar-help-menu): Add "About GNU" menu item.
10 14
11 * startup.el (fancy-splash-head, startup-echo-area-message): 15 * startup.el (fancy-splash-head, startup-echo-area-message):
12 Change message text. 16 Change message text.
13 17
14 * emulation/tpu-edt.el (next-line-internal): Setting deleted. 18 * emulation/tpu-edt.el (next-line-internal): Setting deleted.
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.
247There is a variable ``telnet-interrupt-string'' which is the character 247There is a variable ``telnet-interrupt-string'' which is the character
248sent to try to stop execution of a job on the remote host. 248sent to try to stop execution of a job on the remote host.
249Data is sent to the remote host when RET is typed." 249Data is sent to the remote host when RET is typed."
250 (set (make-local-variable 'comint-prompt-regexp) telnet-prompt-pattern)) 250 (set (make-local-variable 'comint-prompt-regexp) telnet-prompt-pattern)
251 (setq comint-use-prompt-regexp t))
251 252
252;;;###autoload (add-hook 'same-window-regexps "\\*rsh-[^-]*\\*\\(\\|<[0-9]*>\\)") 253;;;###autoload (add-hook 'same-window-regexps "\\*rsh-[^-]*\\*\\(\\|<[0-9]*>\\)")
253 254