Mercurial > vim
comparison src/channel.c @ 20384:42ab4d40e78f v8.2.0747
patch 8.2.0747: cannot forcefully close all popups
Commit: https://github.com/vim/vim/commit/03a9f848175b182372fb33403998059724a8bf31
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed May 13 13:40:16 2020 +0200
patch 8.2.0747: cannot forcefully close all popups
Problem: Cannot forcefully close all popups.
Solution: Add the "force" argument to popup_clear(). Use it after running a
test. Put back the check for a popup when editing a file.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 13 May 2020 13:45:04 +0200 |
parents | ad6949eaa1c7 |
children | 4c317d8c1051 |
comparison
equal
deleted
inserted
replaced
20383:1ebebb9b62e7 | 20384:42ab4d40e78f |
---|---|
154 FILE *file = NULL; | 154 FILE *file = NULL; |
155 | 155 |
156 if (log_fd != NULL) | 156 if (log_fd != NULL) |
157 { | 157 { |
158 if (*fname != NUL) | 158 if (*fname != NUL) |
159 ch_log(NULL, "closing, opening %s", fname); | 159 ch_log(NULL, "closing this logfile, opening %s", fname); |
160 else | 160 else |
161 ch_log(NULL, "closing"); | 161 ch_log(NULL, "closing logfile"); |
162 fclose(log_fd); | 162 fclose(log_fd); |
163 } | 163 } |
164 | 164 |
165 if (*fname != NUL) | 165 if (*fname != NUL) |
166 { | 166 { |