mirror of
https://github.com/vim/vim.git
synced 2025-11-15 23:14:06 -05:00
patch 8.1.1813: ATTENTION prompt for a preview popup window
Problem: ATTENTION prompt for a preview popup window.
Solution: Close the popup window if aborting the buffer load. Avoid getting
the ATTENTION dialog.
This commit is contained in:
@@ -4860,7 +4860,8 @@ findswapname(
|
||||
* (happens when all .swp files are in one directory).
|
||||
*/
|
||||
if (!recoverymode && buf_fname != NULL
|
||||
&& !buf->b_help && !(buf->b_flags & BF_DUMMY))
|
||||
&& !buf->b_help
|
||||
&& !(buf->b_flags & (BF_DUMMY | BF_NO_SEA)))
|
||||
{
|
||||
int fd;
|
||||
struct block0 b0;
|
||||
|
||||
Reference in New Issue
Block a user