Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
17631:1f3f6e1d69cf | 17632:5278e5a2a4e3 |
---|---|
4858 * Give an error message, unless recovering, no file name, we are | 4858 * Give an error message, unless recovering, no file name, we are |
4859 * viewing a help file or when the path of the file is different | 4859 * viewing a help file or when the path of the file is different |
4860 * (happens when all .swp files are in one directory). | 4860 * (happens when all .swp files are in one directory). |
4861 */ | 4861 */ |
4862 if (!recoverymode && buf_fname != NULL | 4862 if (!recoverymode && buf_fname != NULL |
4863 && !buf->b_help && !(buf->b_flags & BF_DUMMY)) | 4863 && !buf->b_help |
4864 && !(buf->b_flags & (BF_DUMMY | BF_NO_SEA))) | |
4864 { | 4865 { |
4865 int fd; | 4866 int fd; |
4866 struct block0 b0; | 4867 struct block0 b0; |
4867 int differ = FALSE; | 4868 int differ = FALSE; |
4868 | 4869 |