mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.1-085
This commit is contained in:
parent
dd87969c8b
commit
eb1b679067
@ -2974,7 +2974,7 @@ check_readonly(forceit, buf)
|
|||||||
* 'fnum' is the number of the file, if zero use ffname/sfname.
|
* 'fnum' is the number of the file, if zero use ffname/sfname.
|
||||||
*
|
*
|
||||||
* Return 1 for "normal" error, 2 for "not written" error, 0 for success
|
* Return 1 for "normal" error, 2 for "not written" error, 0 for success
|
||||||
* -1 for succesfully opening another file.
|
* -1 for successfully opening another file.
|
||||||
* 'lnum' is the line number for the cursor in the new file (if non-zero).
|
* 'lnum' is the line number for the cursor in the new file (if non-zero).
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
@ -3584,9 +3584,20 @@ do_ecmd(fnum, ffname, sfname, eap, newlnum, flags)
|
|||||||
curwin_init();
|
curwin_init();
|
||||||
|
|
||||||
#ifdef FEAT_FOLDING
|
#ifdef FEAT_FOLDING
|
||||||
/* It's like all lines in the buffer changed. Need to update
|
/* It's possible that all lines in the buffer changed. Need to update
|
||||||
* automatic folding. */
|
* automatic folding for all windows where it's used. */
|
||||||
|
# ifdef FEAT_WINDOWS
|
||||||
|
{
|
||||||
|
win_T *win;
|
||||||
|
tabpage_T *tp;
|
||||||
|
|
||||||
|
FOR_ALL_TAB_WINDOWS(tp, win)
|
||||||
|
if (win->w_buffer == curbuf)
|
||||||
|
foldUpdateAll(win);
|
||||||
|
}
|
||||||
|
# else
|
||||||
foldUpdateAll(curwin);
|
foldUpdateAll(curwin);
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Change directories when the 'acd' option is set. */
|
/* Change directories when the 'acd' option is set. */
|
||||||
|
@ -666,6 +666,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 */
|
||||||
|
/**/
|
||||||
|
85,
|
||||||
/**/
|
/**/
|
||||||
84,
|
84,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user