(Man-heading-regexp): Accept multiple whitespace chars.
authorRichard M. Stallman <rms@gnu.org>
Mon, 16 May 1994 23:08:41 +0000 (23:08 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 16 May 1994 23:08:41 +0000 (23:08 +0000)
lisp/man.el

index 225b627..b82fd50 100644 (file)
@@ -201,7 +201,7 @@ the manpage buffer.")
 
 ;; Unless some system actually adds leading whitespace other than one space,
 ;; it is more reliable not to accept any other leading whitespace.
-(defvar Man-heading-regexp "^ ?*\\([A-Z][A-Z \t]+\\)$"
+(defvar Man-heading-regexp "^[ \t]*\\([A-Z][A-Z \t]+\\)$"
   "*Regular expression describing a manpage heading entry.")
 
 (defvar Man-see-also-regexp "SEE ALSO"