aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-05-05 01:01:17 +0000
committerRichard M. Stallman1997-05-05 01:01:17 +0000
commit7098039a5d47ef831031eb499cf4bd14cb4c7976 (patch)
treebabf5020a0027c0a2386c036087d53c76ed34621
parent991465cbd71a8e533df34d877ec4cef979a45e5b (diff)
downloademacs-7098039a5d47ef831031eb499cf4bd14cb4c7976.tar.gz
emacs-7098039a5d47ef831031eb499cf4bd14cb4c7976.zip
(telnet-mode): Add a mode-class property.
-rw-r--r--lisp/telnet.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/telnet.el b/lisp/telnet.el
index bc646753912..d05c249bc24 100644
--- a/lisp/telnet.el
+++ b/lisp/telnet.el
@@ -201,6 +201,8 @@ Normally input is edited in Emacs and sent a line at a time."
201 (setq comint-input-sender 'telnet-simple-send) 201 (setq comint-input-sender 'telnet-simple-send)
202 (setq telnet-count telnet-initial-count)))) 202 (setq telnet-count telnet-initial-count))))
203 203
204(put 'telnet-mode 'mode-class 'special)
205
204(defun telnet-mode () 206(defun telnet-mode ()
205 "This mode is for using telnet (or rsh) from a buffer to another host. 207 "This mode is for using telnet (or rsh) from a buffer to another host.
206It has most of the same commands as comint-mode. 208It has most of the same commands as comint-mode.