瀏覽代碼

Merge pull request #12 from IvanUkhov/inactive-buffers

Revert "Close even if the target buffer has not been loaded yet"
jlanzarotta 11 年之前
父節點
當前提交
fc0ec3e94b
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      plugin/bufexplorer.vim

+ 0 - 2
plugin/bufexplorer.vim

@@ -808,8 +808,6 @@ function! s:SelectBuffer(...)
                     let _bufName = expand("#"._bufNbr.":p")
                     execute _bufName ? "drop ".escape(_bufName, " ") : "buffer "._bufNbr
                 endif
-            else
-                call s:Close()
             endif
 
             " Switch to the selected buffer.