summaryrefslogtreecommitdiff
path: root/src/memline.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-08-04 20:44:19 +0200
committerBram Moolenaar <Bram@vim.org>2019-08-04 20:44:19 +0200
commit2debf1c16b93f8693a785f675320d9e949c96a97 (patch)
tree5734e85cb84615af6c57aed4a7896543879488eb /src/memline.c
parentfb06d767a8d76eead5391302fc88115d6e3879d8 (diff)
downloadvim-git-2debf1c16b93f8693a785f675320d9e949c96a97.tar.gz
patch 8.1.1813: ATTENTION prompt for a preview popup windowv8.1.1813
Problem: ATTENTION prompt for a preview popup window. Solution: Close the popup window if aborting the buffer load. Avoid getting the ATTENTION dialog.
Diffstat (limited to 'src/memline.c')
-rw-r--r--src/memline.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/memline.c b/src/memline.c
index e401c73fa..b6f030051 100644
--- 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;