aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/simple.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index cd674c36e7b..338f3e3fd89 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -474,7 +474,10 @@ Other major modes are defined by comparison with this one."
474 474
475(put 'special-mode 'mode-class 'special) 475(put 'special-mode 'mode-class 'special)
476(define-derived-mode special-mode nil "Special" 476(define-derived-mode special-mode nil "Special"
477 "Parent major mode from which special major modes should inherit." 477 "Parent major mode from which special major modes should inherit.
478
479A special major mode is intended to view specially formatted data
480rather than files. These modes usually use read-only buffers."
478 (setq buffer-read-only t)) 481 (setq buffer-read-only t))
479 482
480;; Making and deleting lines. 483;; Making and deleting lines.