summaryrefslogtreecommitdiff
path: root/lisp/man.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2010-03-05 15:18:20 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2010-03-05 15:18:20 -0500
commite8defde36d0d4ab3dadd7f4a561a8c47ce110f9b (patch)
treee8ca7f793cfd683f6cec01cbf27b3b6c42c843a4 /lisp/man.el
parent254c06a8d8d516a22c9b72dd1c1e32a2e6a83139 (diff)
downloademacs-e8defde36d0d4ab3dadd7f4a561a8c47ce110f9b.tar.gz
(Man-files-regexp): Tighten up the regexp (bug#5686).
Diffstat (limited to 'lisp/man.el')
-rw-r--r--lisp/man.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/man.el b/lisp/man.el
index d64846a2d4d..8eb5f73e245 100644
--- a/lisp/man.el
+++ b/lisp/man.el
@@ -283,7 +283,8 @@ This regular expression should start with a `^' character.")
"Regular expression for SYNOPSIS heading (or your equivalent).
This regexp should not start with a `^' character.")
-(defvar Man-files-regexp "FILES"
+(defvar Man-files-regexp "FILES\\>"
+ ;; Add \> so as not to match mount(8)'s FILESYSTEM INDEPENDENT MOUNT OPTIONS.
"Regular expression for FILES heading (or your equivalent).
This regexp should not start with a `^' character.")