Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 177 by [email protected]: can not wipe buffer on bufhidden
http://code.google.com/p/vim/issues/detail?id=177
What steps will reproduce the problem?
1) set hidden.
2)
set nocompatible
set hidden
syntax on
autocmd BufHidden * call OnBufHidden(expand("<afile>"))
function! OnBufHidden(buffer)
let br = str2nr(expand("<abuf>"))
if br < 0
return
endif
if a:buffer == ""
echoerr "clsing:".br
execute "bw! ".br
endif
endfunction
What is the expected output? What do you see instead?
buffer can be wiped out.
nothing happen.
What version of the product are you using? On what operating system?
v7.4
Please provide any additional information below.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.