diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-10-30 21:57:52 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-10-30 21:57:52 +0100 |
commit | 3a117e19e02bf29cfc5e398470dd7851ae3d6803 (patch) | |
tree | cac4fb42e8c60f1df1047aa910fba1a799f11c4c | |
parent | b4ada79aa7d0d1e5da3a659b1a203d7cae9f7f59 (diff) | |
download | vim-git-3a117e19e02bf29cfc5e398470dd7851ae3d6803.tar.gz |
patch 8.0.0055v8.0.0055
Problem: Minor comment and style deficiencies.
Solution: Update comments and fix style.
-rw-r--r-- | src/buffer.c | 7 | ||||
-rw-r--r-- | src/misc2.c | 1 | ||||
-rw-r--r-- | src/os_unix.c | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
4 files changed, 11 insertions, 3 deletions
diff --git a/src/buffer.c b/src/buffer.c index b013295f7..509a7bcd4 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -451,7 +451,7 @@ close_buffer( int nwindows; bufref_T bufref; # ifdef FEAT_WINDOWS - int is_curwin = (curwin!= NULL && curwin->w_buffer == buf); + int is_curwin = (curwin != NULL && curwin->w_buffer == buf); win_T *the_curwin = curwin; tabpage_T *the_curtab = curtab; # endif @@ -1649,10 +1649,11 @@ set_curbuf(buf_T *buf, int action) #ifdef FEAT_AUTOCMD if (!apply_autocmds(EVENT_BUFLEAVE, NULL, NULL, FALSE, curbuf) # ifdef FEAT_EVAL - || (bufref_valid(&bufref) && !aborting())) + || (bufref_valid(&bufref) && !aborting()) # else - || bufref_valid(&bufref)) + || bufref_valid(&bufref) # endif + ) #endif { #ifdef FEAT_SYN_HL diff --git a/src/misc2.c b/src/misc2.c index 030cff3bc..3803249de 100644 --- a/src/misc2.c +++ b/src/misc2.c @@ -6256,6 +6256,7 @@ has_non_ascii(char_u *s) #if defined(MESSAGE_QUEUE) || defined(PROTO) /* * Process messages that have been queued for netbeans or clientserver. + * Also check if any jobs have ended. * These functions can call arbitrary vimscript and should only be called when * it is safe to do so. */ diff --git a/src/os_unix.c b/src/os_unix.c index 6f365537c..6b26b0620 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -5390,6 +5390,10 @@ mch_detect_ended_job(job_T *job_list) return NULL; } +/* + * Send a (deadly) signal to "job". + * Return FAIL if "how" is not a valid name. + */ int mch_stop_job(job_T *job, char_u *how) { diff --git a/src/version.c b/src/version.c index 68aff327f..0b62f9cae 100644 --- a/src/version.c +++ b/src/version.c @@ -765,6 +765,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 55, +/**/ 54, /**/ 53, |