Function: special-mode
special-mode is an interactive and byte-compiled function defined in
simple.el.gz.
Signature
(special-mode)
Documentation
Parent major mode from which special major modes should inherit.
A special major mode is intended to view specially formatted data rather than files. These modes usually use read-only buffers.
This mode runs the hook special-mode-hook, as the final or
penultimate step during initialization.
- negative-argument
0 digit-argument
1 digit-argument
2 digit-argument
3 digit-argument
4 digit-argument
5 digit-argument
6 digit-argument
7 digit-argument
8 digit-argument
9 digit-argument
< beginning-of-buffer
> end-of-buffer
? describe-mode
DEL scroll-down-command
S-SPC scroll-down-command
SPC scroll-up-command
SPC..~ undefined
g revert-buffer
h describe-mode
q quit-window
Probably introduced at or before Emacs version 23.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/simple.el.gz
(define-derived-mode special-mode nil "Special"
"Parent major mode from which special major modes should inherit.
A special major mode is intended to view specially formatted data
rather than files. These modes usually use read-only buffers."
(setq buffer-read-only t))