mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-24 10:38:38 +00:00
(describe-mode): Doc fix.
This commit is contained in:
parent
4ed1f829e2
commit
efde809a83
@ -9,6 +9,8 @@
|
||||
(ibuffer): Save window configuration before showing Ibuffer
|
||||
buffer.
|
||||
|
||||
* help.el (describe-mode): Doc fix.
|
||||
|
||||
2004-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* progmodes/compile.el (compilation-mode-font-lock-keywords): Fix test
|
||||
|
12
lisp/help.el
12
lisp/help.el
@ -564,11 +564,13 @@ the last key hit are used."
|
||||
|
||||
(defun describe-mode (&optional buffer)
|
||||
"Display documentation of current major mode and minor modes.
|
||||
The major mode description comes first, followed by the minor modes,
|
||||
each on a separate page.
|
||||
For this to work correctly for a minor mode, the mode's indicator variable
|
||||
\(listed in `minor-mode-alist') must also be a function whose documentation
|
||||
describes the minor mode."
|
||||
A brief summary of the minor modes comes first, followed by the
|
||||
major mode description. This is followed by detailed
|
||||
descriptions of the minor modes, each on a separate page.
|
||||
|
||||
For this to work correctly for a minor mode, the mode's indicator
|
||||
variable \(listed in `minor-mode-alist') must also be a function
|
||||
whose documentation describes the minor mode."
|
||||
(interactive)
|
||||
(help-setup-xref (list #'describe-mode (or buffer (current-buffer)))
|
||||
(interactive-p))
|
||||
|
Loading…
Reference in New Issue
Block a user