From 635ad74809cef0070e421a5ff8e63d21fd812427 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Thu, 5 Nov 1998 19:19:03 +0000 Subject: [PATCH] (Man-page-header-regexp): Alternate value for Solaris 2.6. --- lisp/man.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lisp/man.el b/lisp/man.el index b51189985a0..90c27adbc29 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -254,8 +254,12 @@ the associated section number." "Regular expression describing a manpage section within parentheses.") (defvar Man-page-header-regexp - (concat "^[ \t]*\\(" Man-name-regexp - "(\\(" Man-section-regexp "\\))\\).*\\1") + (if (and (string-match "-solaris2\\." system-configuration) + (not (string-match "-solaris2\\.[123435]$" system-configuration))) + (concat "^[-A-Za-z0-9_].*[ \t]\\(" Man-name-regexp + "(\\(" Man-section-regexp "\\))\\)$") + (concat "^[ \t]*\\(" Man-name-regexp + "(\\(" Man-section-regexp "\\))\\).*\\1")) "Regular expression describing the heading of a page.") (defvar Man-heading-regexp "^\\([A-Z][A-Z ]+\\)$" -- 2.39.2