From: Christian Brabandt Date: Wed, 8 Jan 2025 13:09:02 +0000 (+0100) Subject: runtime(doc): clarify buffer deletion on popup_close() X-Git-Tag: v9.1.0996~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f045f324d0a8e9e897e5ed49c4e21aa9c2a538e;p=thirdparty%2Fvim.git runtime(doc): clarify buffer deletion on popup_close() Reported-by: Lifepillar Signed-off-by: Christian Brabandt --- diff --git a/runtime/doc/popup.txt b/runtime/doc/popup.txt index b1e6c0cb35..06acf3918b 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