Skip to content

Commit 0556da8

Browse files
committed
Revert 1d53c4b
See #303
1 parent 577836f commit 0556da8

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

autoload/ctrlp.vim

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,6 @@ fu! s:Open()
309309
cal s:execextvar('enter')
310310
sil! exe 'keepa' ( s:mw_pos == 'top' ? 'to' : 'bo' ) '1new ControlP'
311311
cal s:buffunc(1)
312-
let s:winnr = winnr()
313-
let s:altwinnr = winnr('#')
314312
let [s:bufnr, s:winw] = [bufnr('%'), winwidth(0)]
315313
let [s:focus, s:prompt] = [1, ['', '', '']]
316314
abc <buffer>
@@ -329,8 +327,6 @@ fu! s:Open()
329327
endf
330328

331329
fu! s:Close(exit)
332-
exe s:altwinnr.'winc w'
333-
exe s:winnr.'winc w'
334330
cal s:buffunc(0)
335331
if winnr('$') == 1
336332
bw!

0 commit comments

Comments
 (0)