|
Karsten Hopp |
9aafab |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
9aafab |
Subject: Patch 7.3.1270
|
|
Karsten Hopp |
9aafab |
Fcc: outbox
|
|
Karsten Hopp |
9aafab |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
9aafab |
Mime-Version: 1.0
|
|
Karsten Hopp |
9aafab |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
9aafab |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
9aafab |
------------
|
|
Karsten Hopp |
9aafab |
|
|
Karsten Hopp |
9aafab |
Patch 7.3.1270
|
|
Karsten Hopp |
9aafab |
Problem: Using "Vp" in an empty buffer can't be undone. (Hauke Petersen)
|
|
Karsten Hopp |
9aafab |
Solution: Save one line in an empty buffer. (Christian Brabandt)
|
|
Karsten Hopp |
9aafab |
Files: src/ops.c
|
|
Karsten Hopp |
9aafab |
|
|
Karsten Hopp |
9aafab |
|
|
Karsten Hopp |
9aafab |
*** ../vim-7.3.1269/src/ops.c 2013-05-06 04:21:35.000000000 +0200
|
|
Karsten Hopp |
9aafab |
--- src/ops.c 2013-06-29 17:14:19.000000000 +0200
|
|
Karsten Hopp |
9aafab |
***************
|
|
Karsten Hopp |
9aafab |
*** 3497,3503 ****
|
|
Karsten Hopp |
9aafab |
#endif
|
|
Karsten Hopp |
9aafab |
if (dir == FORWARD)
|
|
Karsten Hopp |
9aafab |
++lnum;
|
|
Karsten Hopp |
9aafab |
! if (u_save(lnum - 1, lnum) == FAIL)
|
|
Karsten Hopp |
9aafab |
goto end;
|
|
Karsten Hopp |
9aafab |
#ifdef FEAT_FOLDING
|
|
Karsten Hopp |
9aafab |
if (dir == FORWARD)
|
|
Karsten Hopp |
9aafab |
--- 3497,3505 ----
|
|
Karsten Hopp |
9aafab |
#endif
|
|
Karsten Hopp |
9aafab |
if (dir == FORWARD)
|
|
Karsten Hopp |
9aafab |
++lnum;
|
|
Karsten Hopp |
9aafab |
! /* In an empty buffer the empty line is going to be replaced, include
|
|
Karsten Hopp |
9aafab |
! * it in the saved lines. */
|
|
Karsten Hopp |
9aafab |
! if ((bufempty() ? u_save(0, 1) : u_save(lnum - 1, lnum)) == FAIL)
|
|
Karsten Hopp |
9aafab |
goto end;
|
|
Karsten Hopp |
9aafab |
#ifdef FEAT_FOLDING
|
|
Karsten Hopp |
9aafab |
if (dir == FORWARD)
|
|
Karsten Hopp |
9aafab |
*** ../vim-7.3.1269/src/version.c 2013-06-29 16:21:50.000000000 +0200
|
|
Karsten Hopp |
9aafab |
--- src/version.c 2013-06-29 17:18:36.000000000 +0200
|
|
Karsten Hopp |
9aafab |
***************
|
|
Karsten Hopp |
9aafab |
*** 730,731 ****
|
|
Karsten Hopp |
9aafab |
--- 730,733 ----
|
|
Karsten Hopp |
9aafab |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
9aafab |
+ /**/
|
|
Karsten Hopp |
9aafab |
+ 1270,
|
|
Karsten Hopp |
9aafab |
/**/
|
|
Karsten Hopp |
9aafab |
|
|
Karsten Hopp |
9aafab |
--
|
|
Karsten Hopp |
9aafab |
ARTHUR: Well, I can't just call you `Man'.
|
|
Karsten Hopp |
9aafab |
DENNIS: Well, you could say `Dennis'.
|
|
Karsten Hopp |
9aafab |
ARTHUR: Well, I didn't know you were called `Dennis.'
|
|
Karsten Hopp |
9aafab |
DENNIS: Well, you didn't bother to find out, did you?
|
|
Karsten Hopp |
9aafab |
The Quest for the Holy Grail (Monty Python)
|
|
Karsten Hopp |
9aafab |
|
|
Karsten Hopp |
9aafab |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
9aafab |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
9aafab |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
9aafab |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|