Skip to content

Commit 3a117e1

Browse files
committed
patch 8.0.0055
Problem: Minor comment and style deficiencies. Solution: Update comments and fix style.
1 parent b4ada79 commit 3a117e1

4 files changed

Lines changed: 11 additions & 3 deletions

File tree

src/buffer.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ close_buffer(
451451
int nwindows;
452452
bufref_T bufref;
453453
# ifdef FEAT_WINDOWS
454-
int is_curwin = (curwin!= NULL && curwin->w_buffer == buf);
454+
int is_curwin = (curwin != NULL && curwin->w_buffer == buf);
455455
win_T *the_curwin = curwin;
456456
tabpage_T *the_curtab = curtab;
457457
# endif
@@ -1649,10 +1649,11 @@ set_curbuf(buf_T *buf, int action)
16491649
#ifdef FEAT_AUTOCMD
16501650
if (!apply_autocmds(EVENT_BUFLEAVE, NULL, NULL, FALSE, curbuf)
16511651
# ifdef FEAT_EVAL
1652-
|| (bufref_valid(&bufref) && !aborting()))
1652+
|| (bufref_valid(&bufref) && !aborting())
16531653
# else
1654-
|| bufref_valid(&bufref))
1654+
|| bufref_valid(&bufref)
16551655
# endif
1656+
)
16561657
#endif
16571658
{
16581659
#ifdef FEAT_SYN_HL

src/misc2.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6256,6 +6256,7 @@ has_non_ascii(char_u *s)
62566256
#if defined(MESSAGE_QUEUE) || defined(PROTO)
62576257
/*
62586258
* Process messages that have been queued for netbeans or clientserver.
6259+
* Also check if any jobs have ended.
62596260
* These functions can call arbitrary vimscript and should only be called when
62606261
* it is safe to do so.
62616262
*/

src/os_unix.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5390,6 +5390,10 @@ mch_detect_ended_job(job_T *job_list)
53905390
return NULL;
53915391
}
53925392

5393+
/*
5394+
* Send a (deadly) signal to "job".
5395+
* Return FAIL if "how" is not a valid name.
5396+
*/
53935397
int
53945398
mch_stop_job(job_T *job, char_u *how)
53955399
{

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
55,
767769
/**/
768770
54,
769771
/**/

0 commit comments

Comments
 (0)