Mercurial > emacs
changeset 5108:8c482171bb10
(Man-specified-section-option): New variable.
(Man-translate-references): Use that variable.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 22 Nov 1993 06:34:22 +0000 |
parents | 2a019dd8ed51 |
children | 062da10a4a6b |
files | lisp/man.el |
diffstat | 1 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/man.el Mon Nov 22 04:33:26 1993 +0000 +++ b/lisp/man.el Mon Nov 22 06:34:22 1993 +0000 @@ -209,6 +209,14 @@ (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 @@ (Man-downcase s2) s2) slist nil)))) - (concat section " " word)) + (concat Man-specified-section-option section " " word)) ref)) (defun Man-linepos (&optional position col-p)