all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#37787: [PATCH] Update `special-mode' docstring.
@ 2019-10-17  6:25 Hong Xu
  2019-10-17  6:29 ` Hong Xu
  2019-10-18  3:37 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 5+ messages in thread
From: Hong Xu @ 2019-10-17  6:25 UTC (permalink / raw)
  To: 37787


* lisp/simple.el (special-mode): Add more explanation for
`special-mode'.
---
 lisp/simple.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/simple.el b/lisp/simple.el
index e44b877931b6..2548a176f0a9 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -474,7 +474,9 @@ special-mode-map
 
 (put 'special-mode 'mode-class 'special)
 (define-derived-mode special-mode nil "Special"
-  "Parent major mode from which special major modes should inherit."
+  "Parent major mode from which special major modes should inherit.
+A special major mode is intended to view specially formatted data
+rather than files.  It is read-only and usually lightweight."
   (setq buffer-read-only t))
 
 ;; Making and deleting lines.
-- 
2.20.1







^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-10-19  8:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-17  6:25 bug#37787: [PATCH] Update `special-mode' docstring Hong Xu
2019-10-17  6:29 ` Hong Xu
2019-10-18  3:37 ` Lars Ingebrigtsen
2019-10-18 17:53   ` Hong Xu
2019-10-19  8:43     ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.