]> granicus.if.org Git - vim/commitdiff
patch 8.0.0055 v8.0.0055
authorBram Moolenaar <Bram@vim.org>
Sun, 30 Oct 2016 20:57:52 +0000 (21:57 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 30 Oct 2016 20:57:52 +0000 (21:57 +0100)
Problem:    Minor comment and style deficiencies.
Solution:   Update comments and fix style.

src/buffer.c
src/misc2.c
src/os_unix.c
src/version.c

index b013295f731687ae80bb62abe812e695b4104824..509a7bcd403637cae909cc0e8b9acac846bd7224 100644 (file)
@@ -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
index 030cff3bcfe8c6b894d7e84f7e054823911b7a3b..3803249de58a1e171599ccc360ed1d8a55d27b24 100644 (file)
@@ -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.
  */
index 6f365537c226e22b4b859644b265ccd4342a6d70..6b26b062038417af668e8e2197bcc8ce8247e2a0 100644 (file)
@@ -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)
 {
index 68aff327f83d052bef2b75ebdda963ec3fb81cb2..0b62f9cae9490ef2a033dd55962d54de7461b8b6 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    55,
 /**/
     54,
 /**/