summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-05-05 01:01:17 +0000
committerRichard M. Stallman <rms@gnu.org>1997-05-05 01:01:17 +0000
commit5e5095014a70fab178f94f8c7d7df060f99c49b8 (patch)
treeacf3fb1032bc88f05801455464d7699c6ea85b4b
parent6667793aa36784160b6fe411a662499b9e526d2f (diff)
downloademacs-5e5095014a70fab178f94f8c7d7df060f99c49b8.tar.gz
(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."
(setq comint-input-sender 'telnet-simple-send)
(setq telnet-count telnet-initial-count))))
+(put 'telnet-mode 'mode-class 'special)
+
(defun telnet-mode ()
"This mode is for using telnet (or rsh) from a buffer to another host.
It has most of the same commands as comint-mode.