home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.4 / 7.4.436 < prev    next >
Encoding:
Internet Message Format  |  2014-09-09  |  1.4 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.436
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.4.436
  11. Problem:    ml_get error for autocommand that moves the cursor of the current
  12.         window.
  13. Solution:   Check the cursor position after switching back to the current
  14.         buffer.  (Christian Brabandt)
  15. Files:        src/fileio.c
  16.  
  17.  
  18. *** ../vim-7.4.435/src/fileio.c    2014-08-22 23:05:50.106606614 +0200
  19. --- src/fileio.c    2014-09-09 16:46:29.224536073 +0200
  20. ***************
  21. *** 9009,9014 ****
  22. --- 9009,9017 ----
  23.   
  24.           curwin = aco->save_curwin;
  25.           curbuf = curwin->w_buffer;
  26. +         /* In case the autocommand move the cursor to a position that that
  27. +          * not exist in curbuf. */
  28. +         check_cursor();
  29.       }
  30.       }
  31.   }
  32. *** ../vim-7.4.435/src/version.c    2014-09-09 16:32:35.828534252 +0200
  33. --- src/version.c    2014-09-09 16:48:14.796536303 +0200
  34. ***************
  35. *** 743,744 ****
  36. --- 743,746 ----
  37.   {   /* Add new patch number below this line */
  38. + /**/
  39. +     436,
  40.   /**/
  41.  
  42. -- 
  43. In a world without walls and borders, who needs windows and gates?
  44.  
  45.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  46. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  47. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  48.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  49.