WinHugs, make AutoReload the default
Neil Mitchell <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.cvs.hugs |
|---|---|
| Message-ID | <[email protected]> |
Hi, This patch makes automatic reloading of modified files the default behaviour under Windows. How this has not been the default behaviour always is beyond me, I know of noone who knows about this flag and has it turned off. Thanks Neil _______________________________________________ Cvs-hugs mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-hugs
auto-reload.patch
(application/octet-stream, 658 B)
Index: src/winhugs/StartCode.c
===================================================================
RCS file: /cvs/hugs98/src/winhugs/StartCode.c,v
retrieving revision 1.6
diff -u -r1.6 StartCode.c
--- src/winhugs/StartCode.c 7 Sep 2005 13:42:09 -0000 1.6
+++ src/winhugs/StartCode.c 13 Sep 2005 10:39:02 -0000
@@ -127,7 +127,7 @@
LPCSTR appName = "Hugs for Windows";
BOOL InAutoReloadFiles = FALSE; /* TRUE =>loading files before eval*/
-BOOL autoLoadFiles = FALSE; /* TRUE => automatically reloaded modified files */
+BOOL autoLoadFiles = TRUE; /* TRUE => automatically reloaded modified files */
void ErrorBox(LPCSTR Msg)
{