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 <
lifep...@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