Remove unneeded cursor positioning

This commit is contained in:
Kim Silkebækken 2011-03-30 12:48:12 +02:00
parent 87caa8bcaa
commit 7655a77d72

View File

@ -303,14 +303,11 @@
endwhile endwhile
let targets_len = len(targets) let targets_len = len(targets)
let groups_len = len(s:index_to_key)
if targets_len == 0 if targets_len == 0
throw 'No matches' throw 'No matches'
endif endif
" Restore cursor position let groups_len = len(s:index_to_key)
call cursor(orig_pos[0], orig_pos[1])
" Split targets into key groups {{{ " Split targets into key groups {{{
let groups = [] let groups = []