diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-08-03 22:44:55 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-08-03 22:44:55 +0200 |
commit | eb44a68b42eda207a5bc4def9ea8fc4d38acb650 (patch) | |
tree | 6fae22aba3c4f1eaad8e6d5e4d74df201c78a65e /src/option.h | |
parent | 620d064b0b0bca2268574abdec2d8eac3384cfdf (diff) | |
download | vim-eb44a68b42eda207a5bc4def9ea8fc4d38acb650.zip |
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.
Diffstat (limited to 'src/option.h')
-rw-r--r-- | src/option.h | 7 |
1 files changed, 0 insertions, 7 deletions
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' */ |