Commits

Bram Moolenaar  committed 8819ea6

updated for version 7.3.790
Problem: After reloading a buffer the modelines are not processed.
Solution: call do_modelines(). (Ken Takata)

  • Participants
  • Parent commits 75b0ad7
  • Tags v7-3-790

Comments (0)

Files changed (2)

File src/fileio.c

 	 * 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 */

File src/version.c

 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    790,
+/**/
     789,
 /**/
     788,