[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lintian: r612 - trunk/checks



Author: rra
Date: 2006-04-04 23:17:22 +0200 (Tue, 04 Apr 2006)
New Revision: 612

Modified:
   trunk/checks/changelog-file
Log:
Minor tweaks to keep XEmacs from warning about malformed local variables
every time it opens this file.


Modified: trunk/checks/changelog-file
===================================================================
--- trunk/checks/changelog-file	2006-04-04 20:20:47 UTC (rev 611)
+++ trunk/checks/changelog-file	2006-04-04 21:17:22 UTC (rev 612)
@@ -252,7 +252,7 @@
 
 # read the changelog itself
 #
-# emacs only looks at the last "local variables:" in a file, and only at
+# emacs only looks at the last "local variables" in a file, and only at
 # one within 3000 chars of EOF and on the last page (^L), but that's a bit
 # pesky to replicate.  Demanding a match of $prefix and $suffix ought to
 # be enough to avoid false positives.
@@ -267,7 +267,7 @@
 	tag "wrong-bug-number-in-closes", "l$.:$1" if $2;
     }
 
-    if (/^(.*)Local variables:(.*)$/i) {
+    if (/^(.*)Local\ variables:(.*)$/i) {
 	$prefix = $1;
 	$suffix = $2;
     }



Reply to: