summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/comint.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index 0fab975f297..8ae8787d2e3 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -367,6 +367,8 @@ This is to work around a bug in Emacs process signaling.")
(put 'comint-scroll-show-maximum-output 'permanent-local t)
(put 'comint-ptyp 'permanent-local t)
+(put 'comint-mode 'mode-class 'special)
+
(defun comint-mode ()
"Major mode for interacting with an inferior interpreter.
Interpreter name is same as buffer name, sans the asterisks.