Skip to content

Commit 1f045f3

Browse files
committed
runtime(doc): clarify buffer deletion on popup_close()
Reported-by: Lifepillar <[email protected]> Signed-off-by: Christian Brabandt <[email protected]>
1 parent e0424b3 commit 1f045f3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

runtime/doc/popup.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*popup.txt* For Vim version 9.1. Last change: 2024 Dec 19
1+
*popup.txt* For Vim version 9.1. Last change: 2025 Jan 08
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -257,8 +257,8 @@ popup_clear([{force}])
257257

258258

259259
popup_close({id} [, {result}]) *popup_close()*
260-
Close popup {id}. The window and the associated buffer will
261-
be deleted.
260+
Close popup {id}. The window will be deleted. The associated
261+
buffer will be deleted, if the popup created a new buffer.
262262

263263
If the popup has a callback it will be called just before the
264264
popup window is deleted. If the optional {result} is present

0 commit comments

Comments
 (0)