vim: force deleting buffers
authorBart Trojanowski <bart@jukie.net>
Fri, 27 Nov 2009 06:18:00 +0000 (01:18 -0500)
committerBart Trojanowski <bart@jukie.net>
Fri, 27 Nov 2009 06:18:00 +0000 (01:18 -0500)
vim/plugin/notmuch.vim

index e94d44bd49cb2c2e9296f894618ad28a03b112af..af81266822bd095835cf37bc7c81ee42b616c925 100644 (file)
@@ -1232,7 +1232,7 @@ endfunction
 function! s:NM_kill_this_buffer()
         if exists('b:nm_prev_bufnr')
                 let prev_bufnr = b:nm_prev_bufnr
-                bdelete
+                bdelete!
                 exec printf("buffer %d", prev_bufnr)
         else
                 echo "This is the last buffer; use :q<CR> to quit."