On Wed, 08 Jan 2025, Lifepillar wrote:

> According to `:help popup_close()`, when a popup is closed the "window
> and the associated buffer will be deleted". That is not the case,
> however, if the popup was created with an existing buffer, e.g.:
> 
>     vim9script
>     var bufnr = bufadd('Popup buffer')
>     var winid = popup_create(bufnr, {})
>     popup_close(winid)
>     echo bufexists(bufnr)
> 
> So, I think that the help should be amended with an additional sentence:
> "If the popup was created with an existing buffer then only the popup
> window will be closed." or something along those lines.

Thanks, fixed as of Commit 1f045f324d0a8e9e897e5e

Thanks,
Christian
-- 
Just because you're paranoid doesn't mean they AREN'T after you.

-- 
-- 
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_use/Z355U3fIRQraaBcF%40256bit.org.

Reply via email to