]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): clarify buffer deletion on popup_close()
authorChristian Brabandt <cb@256bit.org>
Wed, 8 Jan 2025 13:09:02 +0000 (14:09 +0100)
committerChristian Brabandt <cb@256bit.org>
Wed, 8 Jan 2025 13:09:02 +0000 (14:09 +0100)
Reported-by: Lifepillar <lifepillar@lifepillar.me>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/popup.txt

index b1e6c0cb350d09a0dbe1d726b7618e489625d3b9..06acf3918b9c2a57e0e28e928e36267f9d18b464 100644 (file)
@@ -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