From aaeb3db534ab08e308ca1917dd0f82e6643c4b8f Mon Sep 17 00:00:00 2001 From: Robby Findler Date: Mon, 16 Jan 2012 09:09:58 -0600 Subject: [PATCH] clear the "what was the last language?" state when moving out of the module language so that things get initialized properly when moving back into the module language. closes PR 12493 --- collects/drracket/private/module-language-tools.rkt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/collects/drracket/private/module-language-tools.rkt b/collects/drracket/private/module-language-tools.rkt index c0751f00e8..58725a7e16 100644 --- a/collects/drracket/private/module-language-tools.rkt +++ b/collects/drracket/private/module-language-tools.rkt @@ -140,6 +140,8 @@ [in-module-language? (move-to-new-language)] [else + (set! hash-lang-language #f) + (set! hash-lang-last-location #f) (clear-things-out)]))) (define/public (move-to-new-language)