summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/c-auto.in
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/c-auto.in')
-rw-r--r--Build/source/texk/web2c/c-auto.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/c-auto.in b/Build/source/texk/web2c/c-auto.in
index 8b91735cb08..3742c8b1880 100644
--- a/Build/source/texk/web2c/c-auto.in
+++ b/Build/source/texk/web2c/c-auto.in
@@ -54,7 +54,11 @@
#undef NO_DUMP_SHARE
/* web2c: Default editor for interactive `e' option. */
+#ifdef WIN32
+#define EDITOR "emacs +%d \"%s\""
+#else
#define EDITOR "vi +%d '%s'"
+#endif
/* web2c: Window system support for Metafont. */
#undef EPSFWIN