   # Returns nothing.
   repeatPrefix: (e) ->
     num = parseInt(atom.keymap.keystrokeStringForEvent(e.originalEvent))
-    if @topOperation() instanceof prefixes.Repeat
+    if @topOperation() instanceof Prefixes.Repeat
       @topOperation().addDigit(num)
       false
     else


  # Public: Append a search to the search history.
  #
  # motions.Search - The confirmed search motion to append
  #
  # Returns nothing
  pushSearchHistory: (search) ->


    for operation in operations
      # Motions in visual mode perform their selections.
      if @mode is 'visual' and operation instanceof Motions.Motion
        operation.execute = operation.select

      @opStack.push(operation) if operation

      # If we've received an operator in visual mode, mark the current
      # selection as the motion to operate on.
      if @mode is 'visual' and operation instanceof Operators.Operator
        @opStack.push(new Motions.CurrentSelection(@))

      @processOpStack()

