summaryrefslogtreecommitdiff
path: root/lisp/man.el
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnuvola.org>2003-04-09 12:17:59 +0000
committerThien-Thi Nguyen <ttn@gnuvola.org>2003-04-09 12:17:59 +0000
commit8793a2bd240fc2c2ba04e8c2dc4f4d360202e3b1 (patch)
tree2d083c8cdb4bbac6accbf64cc89ca8d407af893e /lisp/man.el
parent564b85ecca79fcf0a003cf55cae0749cc0a1064b (diff)
downloademacs-8793a2bd240fc2c2ba04e8c2dc4f4d360202e3b1.tar.gz
(Man-heading-regexp): Accept hyphen.
Diffstat (limited to 'lisp/man.el')
-rw-r--r--lisp/man.el2
1 files changed, 1 insertions, 1 deletions
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"