Mercurial > vim
diff src/memline.c @ 17632:5278e5a2a4e3 v8.1.1813
patch 8.1.1813: ATTENTION prompt for a preview popup window
commit https://github.com/vim/vim/commit/2debf1c16b93f8693a785f675320d9e949c96a97
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 4 20:44:19 2019 +0200
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 04 Aug 2019 20:45:05 +0200 |
parents | 37afc0146eab |
children | 9fb236d0f386 |
line wrap: on
line diff
--- a/src/memline.c +++ b/src/memline.c @@ -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;