summaryrefslogtreecommitdiff
path: root/lisp/help.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2012-05-15 23:43:06 +0800
committerChong Yidong <cyd@gnu.org>2012-05-15 23:43:06 +0800
commit27d1f87a35539846cc11238f1feaa6b7e6138775 (patch)
treeb83eee71dc1ee9994f57b47277bc091d82fe1e5a /lisp/help.el
parentfcf2993fbb6d1b280fc1a4940c07627bb51b3613 (diff)
downloademacs-27d1f87a35539846cc11238f1feaa6b7e6138775.tar.gz
Misc docfixes.
Suggested by Martin Rudalics. * doc/lispref/display.texi (Face Functions): Fix define-obsolete-face-alias. * doc/lispref/functions.texi (Obsolete Functions): Fix doc for set-advertised-calling-convention. * doc/lispref/modes.texi (Mode Help): Fix describe-mode. * doc/lispref/variables.texi (Variable Aliases): Fix make-obsolete-variable. * lisp/help.el (describe-mode): Doc fix.
Diffstat (limited to 'lisp/help.el')
-rw-r--r--lisp/help.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/help.el b/lisp/help.el
index 1a6aa9d13d2..317d5cf8f46 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -783,7 +783,10 @@ 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."
+whose documentation describes the minor mode.
+
+If called from Lisp with a non-nil BUFFER argument, display
+documentation for the major and minor modes of that buffer."
(interactive "@")
(unless buffer (setq buffer (current-buffer)))
(help-setup-xref (list #'describe-mode buffer)