changeset 38646:5236fd76fef0

(man): Mention Man-switches in the doc string. (Man-switches): Mention -a in the doc string.
author Eli Zaretskii <eliz@gnu.org>
date Wed, 01 Aug 2001 15:30:21 +0000
parents 49fe07c46f8f
children e07bf94fade4
files lisp/man.el
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/man.el	Wed Aug 01 15:29:35 2001 +0000
+++ b/lisp/man.el	Wed Aug 01 15:30:21 2001 +0000
@@ -285,7 +285,10 @@
   "Regular expression describing a reference in the SEE ALSO section.")
 
 (defvar Man-switches ""
-  "Switches passed to the man command, as a single string.")
+  "Switches passed to the man command, as a single string.
+
+If you want to be able to see all the manpages for a subject you type,
+make -a one of the switches, if your `man' program supports it.")
 
 (defvar Man-specified-section-option
   (if (string-match "-solaris[0-9.]*$" system-configuration)
@@ -549,7 +552,9 @@
 If a buffer already exists for this man page, it will display immediately.
 
 To specify a man page from a certain section, type SUBJECT(SECTION) or
-SECTION SUBJECT when prompted for a manual entry."
+SECTION SUBJECT when prompted for a manual entry.  To see manpages from
+all sections related to a subject, put something appropriate into the
+`Man-switches' variable, which see."
   (interactive
    (list (let* ((default-entry (Man-default-man-entry))
 		(input (read-string