summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.