--autoload option to get the old behavior;
authorClaus Gittinger <cg@exept.de>
Wed, 12 Oct 2016 01:46:51 +0200
changeset 1467 befae5d031b8
parent 1466 aadae250eb87
child 1468 9d2291557943
--autoload option to get the old behavior; --quick is now a default
smalltalk.rc
--- a/smalltalk.rc	Wed Oct 12 00:35:23 2016 +0200
+++ b/smalltalk.rc	Wed Oct 12 01:46:51 2016 +0200
@@ -34,9 +34,9 @@
 "/***************************************************************
 |cpu enableJIT|
 
-(Smalltalk commandLineArguments includes:'--quick') ifFalse:[
-    'smalltalk.rc [info]: initial startup (snapshot image restart is faster)...' infoPrintCR.
-].
+"/ (Smalltalk commandLineArguments includes:'--quick') ifFalse:[
+"/     'smalltalk.rc [info]: initial startup (snapshot image restart is faster)...' infoPrintCR.
+"/ ].
 
 "/
 "/ the JIT translator is (was) known to work with the following
@@ -313,11 +313,14 @@
 	needToReactivate := false
     ].
 
-    ((Smalltalk commandLineArguments includes:'--quick')
-    or:[ (Smalltalk isPlugin)
-    or:[ (Smalltalk commandLineArguments includes:'--faststart')
-    or:[ (Smalltalk commandLineArguments includes:'--fastStart')
-    ]]]) ifFalse:[
+"/    ((Smalltalk commandLineArguments includes:'--quick')
+"/    or:[ (Smalltalk isPlugin)
+"/    or:[ (Smalltalk commandLineArguments includes:'--faststart')
+"/    or:[ (Smalltalk commandLineArguments includes:'--fastStart')
+"/    ]]]) ifFalse:
+    (Smalltalk commandLineArguments includes:'--autoload')
+    ifTrue:
+    [
 	'smalltalk.rc [info]: installing autoloaded classes...' infoPrintCR.
 	Smalltalk installAutoloadedClasses.
     ].