@@ -86,7 +86,7 @@ The maximize button of the frame also disappears, as if the X11 maximize propert
8686(define (property-dict-hook? props)
8787 (not (prop-dict-ref props 'label )))
8888
89- (define (insert-to- text text str)
89+ (define (text-insert text str)
9090 ; Inserts the text, possibly overwriting the selection:
9191 (send text begin-edit-sequence)
9292 (send text insert str)
@@ -264,9 +264,9 @@ The maximize button of the frame also disappears, as if the X11 maximize propert
264264 (create-new-tab)
265265 (define new-defs (get-definitions-text))
266266 (send new-defs select-all) ; get the newly created text
267- (insert-to- text new-defs script-result)]
267+ (text-insert new-defs script-result)]
268268 [(selection)
269- (insert-to- text editor script-result)]
269+ (text-insert editor script-result)]
270270 [(message-box)
271271 (when (string? script-result)
272272 (message-box "Output " script-result this ))]
@@ -554,8 +554,6 @@ The maximize button of the frame also disappears, as if the X11 maximize propert
554554 (define (phase1) (void))
555555 (define (phase2) (void))
556556
557- ; Make sure the user-script dir exists and if not populate it with default scripts.
558- (ensure-user-script-dir-exists!)
559557
560558 ; Silently recompile for the new version if necessary, at the start up of DrRacket.
561559 ; This must be done before building the menus.
0 commit comments