diff lisp/man.el @ 107337:df618c2d11bb

(Man-files-regexp): Tighten up the regexp (bug#5686).
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 05 Mar 2010 15:18:20 -0500
parents f6b8c73548b3
children 4ad129f7804d 7a38217041bb
line wrap: on
line diff
--- a/lisp/man.el	Fri Mar 05 14:54:39 2010 -0500
+++ b/lisp/man.el	Fri Mar 05 15:18:20 2010 -0500
@@ -283,7 +283,8 @@
   "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.")