diff options
| author | John Paul Wallington | 2004-04-12 10:25:33 +0000 |
|---|---|---|
| committer | John Paul Wallington | 2004-04-12 10:25:33 +0000 |
| commit | efde809a8389d882d2598ef845ed5ac901fe0061 (patch) | |
| tree | 0da9b76106ca498b0935aabcbeabbbe82df6d336 | |
| parent | 4ed1f829e272a5075937e40ed5a300c4f918570f (diff) | |
| download | emacs-efde809a8389d882d2598ef845ed5ac901fe0061.tar.gz emacs-efde809a8389d882d2598ef845ed5ac901fe0061.zip | |
(describe-mode): Doc fix.
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/help.el | 12 |
2 files changed, 9 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bc487ea1726..ff91d256127 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -9,6 +9,8 @@ | |||
| 9 | (ibuffer): Save window configuration before showing Ibuffer | 9 | (ibuffer): Save window configuration before showing Ibuffer |
| 10 | buffer. | 10 | buffer. |
| 11 | 11 | ||
| 12 | * help.el (describe-mode): Doc fix. | ||
| 13 | |||
| 12 | 2004-04-12 Stefan Monnier <monnier@iro.umontreal.ca> | 14 | 2004-04-12 Stefan Monnier <monnier@iro.umontreal.ca> |
| 13 | 15 | ||
| 14 | * progmodes/compile.el (compilation-mode-font-lock-keywords): Fix test | 16 | * progmodes/compile.el (compilation-mode-font-lock-keywords): Fix test |
diff --git a/lisp/help.el b/lisp/help.el index 82a43c6868b..b589de94474 100644 --- a/lisp/help.el +++ b/lisp/help.el | |||
| @@ -564,11 +564,13 @@ the last key hit are used." | |||
| 564 | 564 | ||
| 565 | (defun describe-mode (&optional buffer) | 565 | (defun describe-mode (&optional buffer) |
| 566 | "Display documentation of current major mode and minor modes. | 566 | "Display documentation of current major mode and minor modes. |
| 567 | The major mode description comes first, followed by the minor modes, | 567 | A brief summary of the minor modes comes first, followed by the |
| 568 | each on a separate page. | 568 | major mode description. This is followed by detailed |
| 569 | For this to work correctly for a minor mode, the mode's indicator variable | 569 | descriptions of the minor modes, each on a separate page. |
| 570 | \(listed in `minor-mode-alist') must also be a function whose documentation | 570 | |
| 571 | describes the minor mode." | 571 | For this to work correctly for a minor mode, the mode's indicator |
| 572 | variable \(listed in `minor-mode-alist') must also be a function | ||
| 573 | whose documentation describes the minor mode." | ||
| 572 | (interactive) | 574 | (interactive) |
| 573 | (help-setup-xref (list #'describe-mode (or buffer (current-buffer))) | 575 | (help-setup-xref (list #'describe-mode (or buffer (current-buffer))) |
| 574 | (interactive-p)) | 576 | (interactive-p)) |