[76418] trunk/base/src/port/port.tcl
and.damore at macports.org
and.damore at macports.org
Tue Feb 22 13:32:47 PST 2011
Revision: 76418
http://trac.macports.org/changeset/76418
Author: and.damore at macports.org
Date: 2011-02-22 13:32:45 -0800 (Tue, 22 Feb 2011)
Log Message:
-----------
adding check for MP_EDITOR, mp specific editor env variable with precedence over VISUAL
Modified Paths:
--------------
trunk/base/src/port/port.tcl
Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl 2011-02-22 21:17:23 UTC (rev 76417)
+++ trunk/base/src/port/port.tcl 2011-02-22 21:32:45 UTC (rev 76418)
@@ -3497,7 +3497,7 @@
if {[info exists local_options($editor_var)]} {
set editor [join $local_options($editor_var)]
} else {
- foreach ed { VISUAL EDITOR } {
+ foreach ed { MP_EDITOR VISUAL EDITOR } {
if {[info exists env($ed)]} {
set editor $env($ed)
break
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110222/49da901e/attachment.html>
More information about the macports-changes
mailing list