fixed exit's binding for drscheme

original commit: bc4dbb3c71764644a3f9727a4721ff6b35694687
This commit is contained in:
Robby Findler 1996-07-08 15:12:17 +00:00
parent 9c87d070b2
commit ecae9710d5

View File

@ -680,6 +680,12 @@
; Map names to keyboard functions
(add "rcs" rcs)
(add "exit" (lambda (edit event)
(let ([frame (send edit get-frame)])
(if frame
((ivar frame file-menu:quit))
(wx:bell)))))
(add "ring-bell" ring-bell)
(add "save-file" save-file)
@ -713,8 +719,6 @@
(make-make-repeater n))
(loop (sub1 n)))))
(add "exit" (lambda args (mred:exit:exit)))
(add "do-saved-macro" do-macro)
(add "start-macro-record" start-macro)
(add "end-macro-record" end-macro)