diff --git a/src/window.coffee b/src/window.coffee index 309eadbcc..337a3704b 100644 --- a/src/window.coffee +++ b/src/window.coffee @@ -46,6 +46,8 @@ window.setUpEnvironment = (windowMode) -> # # This can be used by packages to have a minimum level of keybindings and # menus available when not using the standard editor window. +# +# This should only be called after setUpEnvironment() has been called. window.setUpDefaultEvents = -> windowEventHandler = new WindowEventHandler keymap.loadBundledKeymaps()