             else
               localStorage[@getLocationKey keyChar] = @getMarkString()
               @showMessage "Created local mark", keyChar
-          handlerStack.suppressEvent
+            return
+          return handlerStack.suppressEvent
+    return
 
   activateGotoMode: (count, {registryEntry}) ->
     @currentRegistryEntry = registryEntry

                  HUD.showForDuration "Jumped to global mark '#{keyChar}'", 1000
                else
                  HUD.showForDuration "Global mark not set '#{keyChar}'", 1000
            else
              markString = @localRegisters[keyChar] ? localStorage[@getLocationKey keyChar]
              if markString?

                @showMessage "Jumped to local mark", keyChar
              else
                @showMessage "Local mark not set", keyChar
            return
          return handlerStack.suppressEvent

root = exports ? (window.root ?= {})
root.Marks =  Marks
