mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.4.449
Problem: Can't easily close the help window. (Chris Gaal) Solution: Add ":helpclose". (Christian Brabandt)
This commit is contained in:
@@ -5899,6 +5899,24 @@ erret:
|
||||
vim_free(tag);
|
||||
}
|
||||
|
||||
/*
|
||||
* ":helpclose": Close the help window
|
||||
*/
|
||||
void
|
||||
ex_helpclose(eap)
|
||||
exarg_T *eap UNUSED;
|
||||
{
|
||||
win_T *win;
|
||||
|
||||
FOR_ALL_WINDOWS(win)
|
||||
{
|
||||
if (win->w_buffer->b_help)
|
||||
{
|
||||
win_close(win, FALSE);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(FEAT_MULTI_LANG) || defined(PROTO)
|
||||
/*
|
||||
|
Reference in New Issue
Block a user