Karsten Hopp 69fe8f
To: vim_dev@googlegroups.com
Karsten Hopp 69fe8f
Subject: Patch 7.3.790
Karsten Hopp 69fe8f
Fcc: outbox
Karsten Hopp 69fe8f
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 69fe8f
Mime-Version: 1.0
Karsten Hopp 69fe8f
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 69fe8f
Content-Transfer-Encoding: 8bit
Karsten Hopp 69fe8f
------------
Karsten Hopp 69fe8f
Karsten Hopp 69fe8f
Patch 7.3.790
Karsten Hopp 69fe8f
Problem:    After reloading a buffer the modelines are not processed.
Karsten Hopp 69fe8f
Solution:   call do_modelines(). (Ken Takata)
Karsten Hopp 69fe8f
Files:	    src/fileio.c
Karsten Hopp 69fe8f
Karsten Hopp 69fe8f
Karsten Hopp 69fe8f
*** ../vim-7.3.789/src/fileio.c	2012-12-05 19:13:11.000000000 +0100
Karsten Hopp 69fe8f
--- src/fileio.c	2013-01-30 14:08:21.000000000 +0100
Karsten Hopp 69fe8f
***************
Karsten Hopp 69fe8f
*** 7243,7248 ****
Karsten Hopp 69fe8f
--- 7243,7251 ----
Karsten Hopp 69fe8f
  	 * reset it, might have had a read error. */
Karsten Hopp 69fe8f
  	if (orig_mode == curbuf->b_orig_mode)
Karsten Hopp 69fe8f
  	    curbuf->b_p_ro |= old_ro;
Karsten Hopp 69fe8f
+ 
Karsten Hopp 69fe8f
+ 	/* Modelines must override settings done by autocommands. */
Karsten Hopp 69fe8f
+ 	do_modelines(0);
Karsten Hopp 69fe8f
      }
Karsten Hopp 69fe8f
  
Karsten Hopp 69fe8f
      /* restore curwin/curbuf and a few other things */
Karsten Hopp 69fe8f
*** ../vim-7.3.789/src/version.c	2013-01-30 13:59:31.000000000 +0100
Karsten Hopp 69fe8f
--- src/version.c	2013-01-30 14:02:30.000000000 +0100
Karsten Hopp 69fe8f
***************
Karsten Hopp 69fe8f
*** 727,728 ****
Karsten Hopp 69fe8f
--- 727,730 ----
Karsten Hopp 69fe8f
  {   /* Add new patch number below this line */
Karsten Hopp 69fe8f
+ /**/
Karsten Hopp 69fe8f
+     790,
Karsten Hopp 69fe8f
  /**/
Karsten Hopp 69fe8f
Karsten Hopp 69fe8f
-- 
Karsten Hopp 69fe8f
BLACK KNIGHT:  Come on you pansy!
Karsten Hopp 69fe8f
    [hah] [parry thrust]
Karsten Hopp 69fe8f
    [ARTHUR chops the BLACK KNIGHT's right arm off]
Karsten Hopp 69fe8f
ARTHUR:        Victory is mine!  [kneeling]
Karsten Hopp 69fe8f
               We thank thee Lord, that in thy merc-
Karsten Hopp 69fe8f
    [Black Knight kicks Arthur in the head while he is praying]
Karsten Hopp 69fe8f
                                  The Quest for the Holy Grail (Monty Python)
Karsten Hopp 69fe8f
Karsten Hopp 69fe8f
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 69fe8f
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 69fe8f
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 69fe8f
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///