mirror of
https://github.com/vim/vim.git
synced 2025-10-06 05:44:14 -04:00
updated for version 7.3.790
Problem: After reloading a buffer the modelines are not processed. Solution: call do_modelines(). (Ken Takata)
This commit is contained in:
@@ -7243,6 +7243,9 @@ buf_reload(buf, orig_mode)
|
||||
* reset it, might have had a read error. */
|
||||
if (orig_mode == curbuf->b_orig_mode)
|
||||
curbuf->b_p_ro |= old_ro;
|
||||
|
||||
/* Modelines must override settings done by autocommands. */
|
||||
do_modelines(0);
|
||||
}
|
||||
|
||||
/* restore curwin/curbuf and a few other things */
|
||||
|
@@ -725,6 +725,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
790,
|
||||
/**/
|
||||
789,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user