aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2001-08-01 15:31:08 +0000
committerEli Zaretskii2001-08-01 15:31:08 +0000
commit7e03f4c813ca2f0b536af1ae0ca130ec64e611c3 (patch)
tree20072158bd2721133a7ca5dfcd7c59dc25c96765
parent2b2eabedd79f9598e21c1a1d637d121e4d130b68 (diff)
downloademacs-7e03f4c813ca2f0b536af1ae0ca130ec64e611c3.tar.gz
emacs-7e03f4c813ca2f0b536af1ae0ca130ec64e611c3.zip
(man): Mention Man-switches in the doc string.
(Man-switches): Mention -a in the doc string.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/man.el9
2 files changed, 10 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ac29c56037d..ee5b2274275 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12001-08-01 Eli Zaretskii <eliz@is.elta.co.il> 12001-08-01 Eli Zaretskii <eliz@is.elta.co.il>
2 2
3 * man.el (man): Mention Man-switches in the doc string.
4 (Man-switches): Mention -a in the doc string.
5
3 * textmodes/ispell.el (ispell-alternate-dictionary): Add 6 * textmodes/ispell.el (ispell-alternate-dictionary): Add
4 /usr/share/lib/dict/words, for Irix. 7 /usr/share/lib/dict/words, for Irix.
5 8
diff --git a/lisp/man.el b/lisp/man.el
index c7a2d43153c..5e3fc280d29 100644
--- a/lisp/man.el
+++ b/lisp/man.el
@@ -285,7 +285,10 @@ This regular expression should start with a `^' character.")
285 "Regular expression describing a reference in the SEE ALSO section.") 285 "Regular expression describing a reference in the SEE ALSO section.")
286 286
287(defvar Man-switches "" 287(defvar Man-switches ""
288 "Switches passed to the man command, as a single string.") 288 "Switches passed to the man command, as a single string.
289
290If you want to be able to see all the manpages for a subject you type,
291make -a one of the switches, if your `man' program supports it.")
289 292
290(defvar Man-specified-section-option 293(defvar Man-specified-section-option
291 (if (string-match "-solaris[0-9.]*$" system-configuration) 294 (if (string-match "-solaris[0-9.]*$" system-configuration)
@@ -549,7 +552,9 @@ results in a Man mode (manpage browsing) buffer. See variable
549If a buffer already exists for this man page, it will display immediately. 552If a buffer already exists for this man page, it will display immediately.
550 553
551To specify a man page from a certain section, type SUBJECT(SECTION) or 554To specify a man page from a certain section, type SUBJECT(SECTION) or
552SECTION SUBJECT when prompted for a manual entry." 555SECTION SUBJECT when prompted for a manual entry. To see manpages from
556all sections related to a subject, put something appropriate into the
557`Man-switches' variable, which see."
553 (interactive 558 (interactive
554 (list (let* ((default-entry (Man-default-man-entry)) 559 (list (let* ((default-entry (Man-default-man-entry))
555 (input (read-string 560 (input (read-string