1
0
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:
John Paul Wallington 2004-04-12 10:25:33 +00:00
parent 4ed1f829e2
commit efde809a83
2 changed files with 9 additions and 5 deletions

View File

@ -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

View File

@ -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))