From 8793a2bd240fc2c2ba04e8c2dc4f4d360202e3b1 Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Wed, 9 Apr 2003 12:17:59 +0000 Subject: [PATCH] (Man-heading-regexp): Accept hyphen. --- lisp/ChangeLog | 4 ++++ lisp/man.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1ffc92c9e0f..1833749afde 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2003-04-09 Thien-Thi Nguyen + + * man.el (Man-heading-regexp): Accept hyphen. + 2003-04-09 Kenichi Handa * international/fontset.el: Specify rescale ratio 1.3 for CDAC diff --git a/lisp/man.el b/lisp/man.el index af69340aba3..c7cfe1de2fb 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -256,7 +256,7 @@ the associated section number." "(\\(" Man-section-regexp "\\))\\).*\\1")) "Regular expression describing the heading of a page.") -(defvar Man-heading-regexp "^\\([A-Z][A-Z ]+\\)$" +(defvar Man-heading-regexp "^\\([A-Z][A-Z -]+\\)$" "Regular expression describing a manpage heading entry.") (defvar Man-see-also-regexp "SEE ALSO" -- 2.39.2