aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1993-11-22 06:34:22 +0000
committerRichard M. Stallman <[email protected]>1993-11-22 06:34:22 +0000
commit9de0760cc8208b8a5ce16411d20c2a17fad2fb87 (patch)
tree65f5f1efb58b461f26ba7823ad2240c5f51464d3
parent1f11a5cab282e94439e4e5a7a2e9a17b19af5573 (diff)
(Man-specified-section-option): New variable.
(Man-translate-references): Use that variable.
-rw-r--r--lisp/man.el10
1 files changed, 9 insertions, 1 deletions
diff --git a/lisp/man.el b/lisp/man.el
index 709580f863..a4bf961f38 100644
--- a/lisp/man.el
+++ b/lisp/man.el
@@ -209,6 +209,14 @@ This regular expression should start with a `^' character.")
(defvar Man-switches ""
"*Switches passed to the man command, as a single string.")
+;; Would someone like to provide a good test for being on Solaris?
+;; We could give it its own value of system-type, but that has drawbacks;
+;; it would require changes in lots of places that test system-type.
+(defvar Man-specified-section-option ""
+ "*Option that indicates a specified a manual section name.
+On most Unix systems, no option is needed for this.
+On Solaris, you need to set this to \"-s \".")
+
;; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
;; end user variables
@@ -314,7 +322,7 @@ This regular expression should start with a `^' character.")
(Man-downcase s2)
s2)
slist nil))))
- (concat section " " word))
+ (concat Man-specified-section-option section " " word))
ref))
(defun Man-linepos (&optional position col-p)