mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.0.0055
Problem: Minor comment and style deficiencies. Solution: Update comments and fix style.
This commit is contained in:
parent
b4ada79aa7
commit
3a117e19e0
@ -451,7 +451,7 @@ close_buffer(
|
|||||||
int nwindows;
|
int nwindows;
|
||||||
bufref_T bufref;
|
bufref_T bufref;
|
||||||
# ifdef FEAT_WINDOWS
|
# 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;
|
win_T *the_curwin = curwin;
|
||||||
tabpage_T *the_curtab = curtab;
|
tabpage_T *the_curtab = curtab;
|
||||||
# endif
|
# endif
|
||||||
@ -1649,10 +1649,11 @@ set_curbuf(buf_T *buf, int action)
|
|||||||
#ifdef FEAT_AUTOCMD
|
#ifdef FEAT_AUTOCMD
|
||||||
if (!apply_autocmds(EVENT_BUFLEAVE, NULL, NULL, FALSE, curbuf)
|
if (!apply_autocmds(EVENT_BUFLEAVE, NULL, NULL, FALSE, curbuf)
|
||||||
# ifdef FEAT_EVAL
|
# ifdef FEAT_EVAL
|
||||||
|| (bufref_valid(&bufref) && !aborting()))
|
|| (bufref_valid(&bufref) && !aborting())
|
||||||
# else
|
# else
|
||||||
|| bufref_valid(&bufref))
|
|| bufref_valid(&bufref)
|
||||||
# endif
|
# endif
|
||||||
|
)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
#ifdef FEAT_SYN_HL
|
#ifdef FEAT_SYN_HL
|
||||||
|
@ -6256,6 +6256,7 @@ has_non_ascii(char_u *s)
|
|||||||
#if defined(MESSAGE_QUEUE) || defined(PROTO)
|
#if defined(MESSAGE_QUEUE) || defined(PROTO)
|
||||||
/*
|
/*
|
||||||
* Process messages that have been queued for netbeans or clientserver.
|
* 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
|
* These functions can call arbitrary vimscript and should only be called when
|
||||||
* it is safe to do so.
|
* it is safe to do so.
|
||||||
*/
|
*/
|
||||||
|
@ -5390,6 +5390,10 @@ mch_detect_ended_job(job_T *job_list)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Send a (deadly) signal to "job".
|
||||||
|
* Return FAIL if "how" is not a valid name.
|
||||||
|
*/
|
||||||
int
|
int
|
||||||
mch_stop_job(job_T *job, char_u *how)
|
mch_stop_job(job_T *job, char_u *how)
|
||||||
{
|
{
|
||||||
|
@ -764,6 +764,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
55,
|
||||||
/**/
|
/**/
|
||||||
54,
|
54,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user