[32480] trunk/base/src/port1.0/portlint.tcl
afb at macports.org
afb at macports.org
Fri Jan 4 01:45:35 PST 2008
Revision: 32480
http://trac.macosforge.org/projects/macports/changeset/32480
Author: afb at macports.org
Date: 2008-01-04 01:45:34 -0800 (Fri, 04 Jan 2008)
Log Message:
-----------
recognize non-canonical modelines (#13496)
Modified Paths:
--------------
trunk/base/src/port1.0/portlint.tcl
Modified: trunk/base/src/port1.0/portlint.tcl
===================================================================
--- trunk/base/src/port1.0/portlint.tcl 2008-01-04 08:44:09 UTC (rev 32479)
+++ trunk/base/src/port1.0/portlint.tcl 2008-01-04 09:45:34 UTC (rev 32480)
@@ -205,7 +205,7 @@
incr warnings
}
- if {($lineno == $topline_number) && [string match "*-\*- Mode:*" $line]} {
+ if {($lineno == $topline_number) && [string match "*-\*- *" $line]} {
ui_info "OK: Line $lineno has emacs/vim Mode"
incr topline_number
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080104/6ad563af/attachment.html
More information about the macports-changes
mailing list