From eb44a68b42eda207a5bc4def9ea8fc4d38acb650 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 3 Aug 2017 22:44:55 +0200 Subject: patch 8.0.0858: can exit while a terminal is still running a job Problem: Can exit while a terminal is still running a job. Solution: Consider a buffer with a running job like a changed file. --- src/option.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/option.h') diff --git a/src/option.h b/src/option.h index 89c792205..9b7e88f0d 100644 --- a/src/option.h +++ b/src/option.h @@ -558,13 +558,6 @@ EXTERN long p_hh; /* 'helpheight' */ EXTERN char_u *p_hlg; /* 'helplang' */ #endif EXTERN int p_hid; /* 'hidden' */ -/* Use P_HID to check if a buffer is to be hidden when it is no longer - * visible in a window. */ -#ifndef FEAT_QUICKFIX -# define P_HID(dummy) (p_hid || cmdmod.hide) -#else -# define P_HID(buf) (buf_hide(buf)) -#endif EXTERN char_u *p_hl; /* 'highlight' */ EXTERN int p_hls; /* 'hlsearch' */ EXTERN long p_hi; /* 'history' */ -- cgit v1.2.3