changeset 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 a2b9cb6b7cb7
children feb1bc86a749
files lisp/ChangeLog lisp/man.el
diffstat 2 files changed, 12 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Mar 05 14:54:39 2010 -0500
+++ b/lisp/ChangeLog	Fri Mar 05 15:18:20 2010 -0500
@@ -1,3 +1,7 @@
+2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
+
 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
 
 	* macros.el (insert-kbd-macro): Look up keyboard macro using the
@@ -27,19 +31,17 @@
 
 2010-03-01  Alan Mackenzie  <acm@muc.de>
 
-	* progmodes/cc-engine.el (c-remove-stale-state-cache): Correct
-	previous patch.
+	* progmodes/cc-engine.el (c-remove-stale-state-cache):
+	Correct previous patch.
 
 2010-03-01  Kenichi Handa  <handa@m17n.org>
 
-	* language/burmese.el (burmese-composable-pattern): Renamed from
+	* language/burmese.el (burmese-composable-pattern): Rename from
 	myanmar-composable-pattern.
 
-	* international/characters.el (script-list): Change myanmar to
-	burmese.
-
-	* international/fontset.el (script-representative-chars): Change
-	myanmar to burmese.
+	* international/characters.el (script-list):
+	* international/fontset.el (script-representative-chars):
+	Change myanmar to burmese.
 	(otf-script-alist): Likewise.
 	(setup-default-fontset): Likewise.  Re-fix :otf spec.
 
--- 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.")