aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Paul Wallington2004-04-12 10:25:33 +0000
committerJohn Paul Wallington2004-04-12 10:25:33 +0000
commitefde809a8389d882d2598ef845ed5ac901fe0061 (patch)
tree0da9b76106ca498b0935aabcbeabbbe82df6d336
parent4ed1f829e272a5075937e40ed5a300c4f918570f (diff)
downloademacs-efde809a8389d882d2598ef845ed5ac901fe0061.tar.gz
emacs-efde809a8389d882d2598ef845ed5ac901fe0061.zip
(describe-mode): Doc fix.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/help.el12
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
122004-04-12 Stefan Monnier <monnier@iro.umontreal.ca> 142004-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.
567The major mode description comes first, followed by the minor modes, 567A brief summary of the minor modes comes first, followed by the
568each on a separate page. 568major mode description. This is followed by detailed
569For this to work correctly for a minor mode, the mode's indicator variable 569descriptions of the minor modes, each on a separate page.
570\(listed in `minor-mode-alist') must also be a function whose documentation 570
571describes the minor mode." 571For this to work correctly for a minor mode, the mode's indicator
572variable \(listed in `minor-mode-alist') must also be a function
573whose 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))