Commit 9de0760c authored by Richard M. Stallman's avatar Richard M. Stallman

(Man-specified-section-option): New variable.

(Man-translate-references): Use that variable.
parent 1f11a5ca
......@@ -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)
slist nil))))
(concat section " " word))
(concat Man-specified-section-option section " " word))
(defun Man-linepos (&optional position col-p)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment