(man, Man-getpage-in-background): Second arg deleted.
References to Man-reuse-okay-flag deleted.
(Man-follow-manual-reference): First arg deleted. Call
Man-getpage-in-background with one argument only.
(manual-program, Man-untabify-command, Man-untabify-command-args,
Man-sed-command, Man-awk-command, Man-mode-line-format,
Man-mode-map, Man-mode-hook, Man-cooked-hook, Man-name-regexp,
Man-section-regexp, Man-page-header-regexp, Man-heading-regexp,
Man-see-also-regexp, Man-first-heading-regexp,
Man-reference-regexp, Man-switches, Man-specified-section-option):
Make them normal defvars, no more user options.
(Man-overstrike-face, Man-undeline-face): New user options.
(Man-init-defvars): Man-fontify-manpage-flag removed from here.
(man-fontify-manpage): Use the new user options above.
Man-filter-list, Man-original-frame, Man-arguments,
Man-fontify-manpage-flag, Man-sections-alist, Man-refpages-alist,
Man-uses-untabify-flag, Man-page-mode-string, Man-sed-script):
Added defvar's to keep the compiler quiet.
(Man-getpage-in-background): Start buffer name with "*Man ".
instead of "*man " to avoid conflict with "*mail*".
(Man-match-substring): Defsubst moved before first call.
(Man-build-page-list, Man-strip-page-headers, Man-unindent): Use
defun instead of defsubst, for code clarity purpose.
variable, use the old one if it is bound as initial value.
(Man-reuse-okay-flag): replaces Man-reuse-okay.
(Man-downcase-section-letters-flag): replaces
Man-downcase-section-letters.
(Man-circular-pages-flag): replaces Man-circular-pages.
(Man-auto-section-alist): variable deleted.
(Man-section-translations-alist): removed the "3x" translation.
(Man-untabify-command, Man-untabify-command-args): new vars.
(Man-sed-command, Man-awk-command): new variables.
(Man-sysv-sed-script, Man-berkeley-sed-script): new constants.
(Man-name-regexp, Man-page-header-regexp): new variable.
(Man-heading-regexp): changed default value.
(Man-reference-regexp): now refers to previous regexps.
(Man-arguments): new buffer-local variable.
(Man-page-mode-string): changed default value.
(Man-mode-map): changed the meanings of ",", ".", "q". Added new
keys ">", "<", "k".
(Man-page-mode-string): function deleted.
(Man-init-defvars): New function used for initialising the system
and environment dependent variables Man-fontify-manpage-flag,
Man-uses-untabify, Man-sed-script, Man-filter-list.
(Man-delete-trailing-newlines): function deleted.
(Man-make-page-mode-string): new subst.
(Man-build-man-command): now subst instead of function. Modified
to comply with the new format of Man-filter-list.
(Man-downcase): function deleted.
(Man-translate-references): complete rewrite.
(Man-linepos): function deleted.
(Man-match-substring): new function.
(Man-default-man-args): function deleted.
(Man-default-man-entry): complete rewrite.
(man, manual-entry): function-alias relationship reversed.
(man): prompt changed, prompt using interactive, call
Man-init-defvars, set Man-arguments.
(Man-notify-when-ready): manage the 'pushy value.
(Man-fontify-manpage): substitute Man-set-fonts.
(Man-cleanup-manpage): new function.
(Man-bgproc-sentinel): cleanup, call Man-fontify-manpage and
Man-cleanup-page when necessary.
(Man-mode): call Man-strip-page-headers and Man-unindent.
(Man-build-section-alist, Man-build-references-alist,
Man-build-page-list): substs instead of functions.
(Man-build-references-alist): cleanup.
(Man-build-page-list): new algorithm.
(Man-strip-page-headers, Man-unindent): new substs.
(Man-find-section): assume section names start in column 1.
(Man-quit): bury the buffer instead of killing it, delete the
frame when necessary.
(Man-kill): new function.
(Man-goto-page): do the right thing when the manpage is not found,
do not assume that Man-build-references-alist is broken.
(Man-mode-hook): Renamed from Man-mode-hooks.
(Man-follow-manual-reference): Strip trailing - from default.
(Man-getpage-in-background): Use lower case for arg vars.
(Man-follow-manual-reference): Check for existence of references
before using the minibuffer. Delete period from error message.
Delete spurious concat call. Pass arg, not (consp arg),
to Man-getpage-in-background.
(Man-follow-manual-reference): Try to use current word
as a default for the reference to follow.
Use interactive to read the reference name.
use only what Man-reference-regexp matched.
(Man-reference-regexp): Don't match starting with a period.
(Man-first-heading-regexp): Allow leading space.
(Man-heading-regexp): Allow leading space.
end of the command list if Man-filter-list is nil.
(Man-default-man-args): Don't write out assq and mapconcat.
(Man-default-man-entry): Don't default to section 2 for C-mode.
Call Man-default-man-args, and let people use
Man-auto-section-alist if this is what they want.
(manual-entry): Call Man-translate-references, instead of writing
it out.
(Man-getpage-in-background): Don't apply Man-default-man-args
here; manual-entry has already run it, and
Man-follow-manual-reference provides the sections itself.