Mercurial > emacs
comparison lisp/net/telnet.el @ 78405:30f0c1ae324d
(telnet-mode): Fix previous change.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Fri, 03 Aug 2007 17:09:43 +0000 |
parents | 42a0615ad1fa |
children | 6888fd3398e8 424b655804ca |
comparison
equal
deleted
inserted
replaced
78404:27f00e50116a | 78405:30f0c1ae324d |
---|---|
246 It has most of the same commands as comint-mode. | 246 It has most of the same commands as comint-mode. |
247 There is a variable ``telnet-interrupt-string'' which is the character | 247 There is a variable ``telnet-interrupt-string'' which is the character |
248 sent to try to stop execution of a job on the remote host. | 248 sent to try to stop execution of a job on the remote host. |
249 Data is sent to the remote host when RET is typed." | 249 Data 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 (set (make-local-variable 'comint-use-prompt-regexp) t)) |
252 | 252 |
253 ;;;###autoload (add-hook 'same-window-regexps "\\*rsh-[^-]*\\*\\(\\|<[0-9]*>\\)") | 253 ;;;###autoload (add-hook 'same-window-regexps "\\*rsh-[^-]*\\*\\(\\|<[0-9]*>\\)") |
254 | 254 |
255 ;;;###autoload | 255 ;;;###autoload |
256 (defun rsh (host) | 256 (defun rsh (host) |