# File ../lib/fox/undolist.rb, line 158
    def undo
      if !@undolist.empty?
        command = @undolist.pop
        @size -= command.size
        command.undo
        @redolist.push(command)
        @marker = @marker - 1 if (@marker != nil)
        return true
      end
      return false
    end