summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/web2c/mplibdir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/mplibdir/mpost.w6
2 files changed, 6 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/mplibdir/ChangeLog b/Build/source/texk/web2c/mplibdir/ChangeLog
index a2f7136570e..5a3a2585e46 100644
--- a/Build/source/texk/web2c/mplibdir/ChangeLog
+++ b/Build/source/texk/web2c/mplibdir/ChangeLog
@@ -1,3 +1,7 @@
+2011-06-06 Taco Hoekwater <taco@luatex.org>
+
+ * mpost.w (mpost_run_editor): Do not attempt to use EDITOR.
+
2011-06-04 Peter Breitenlohner <peb@mppmu.mpg.de>
* am/mplib.am (bin_links): Remove no longer existing 'metafun'.
diff --git a/Build/source/texk/web2c/mplibdir/mpost.w b/Build/source/texk/web2c/mplibdir/mpost.w
index 1bb28721f0a..371677f47f9 100644
--- a/Build/source/texk/web2c/mplibdir/mpost.w
+++ b/Build/source/texk/web2c/mplibdir/mpost.w
@@ -1,4 +1,4 @@
-% $Id: mpost.w 1681 2011-05-30 07:15:22Z taco $
+% $Id: mpost.w 1687 2011-06-06 11:53:20Z taco $
%
% This file is part of MetaPost;
% the MetaPost program is in the public domain.
@@ -107,10 +107,8 @@ static void mpost_run_editor (MP mp, char *fname, int fline) {
boolean sdone, ddone;
sdone = ddone = false;
edit_value = kpse_var_value ("MPEDIT");
- if (edit_value == NULL)
- edit_value = getenv("EDITOR");
if (edit_value == NULL) {
- fprintf (stderr,"call_edit: can't find a suitable MPEDIT or EDITOR variable\n");
+ fprintf (stderr,"call_edit: can't find a suitable MPEDIT variable\n");
exit(mp_status(mp));
}
command = (string) mpost_xmalloc (strlen (edit_value) + strlen(fname) + 11 + 3);