runtime(doc): clarify buffer deletion on popup_close()

Commit: 
https://github.com/vim/vim/commit/1f045f324d0a8e9e897e5ed49c4e21aa9c2a538e
Author: Christian Brabandt <c...@256bit.org>
Date:   Wed Jan 8 14:09:02 2025 +0100

    runtime(doc): clarify buffer deletion on popup_close()
    
    Reported-by: Lifepillar <lifepil...@lifepillar.me>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/doc/popup.txt b/runtime/doc/popup.txt
index b1e6c0cb3..06acf3918 100644
--- a/runtime/doc/popup.txt
+++ b/runtime/doc/popup.txt
@@ -1,4 +1,4 @@
-*popup.txt*  For Vim version 9.1.  Last change: 2024 Dec 19
+*popup.txt*  For Vim version 9.1.  Last change: 2025 Jan 08
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -257,8 +257,8 @@ popup_clear([{force}])
 
 
 popup_close({id} [, {result}])                         *popup_close()*
-               Close popup {id}.  The window and the associated buffer will
-               be deleted.
+               Close popup {id}.  The window will be deleted.  The associated
+               buffer will be deleted, if the popup created a new buffer.
 
                If the popup has a callback it will be called just before the
                popup window is deleted.  If the optional {result} is present

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1tVVtt-00Fp1f-AR%40256bit.org.

Raspunde prin e-mail lui