|
Karsten Hopp |
1ede7c |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
1ede7c |
Subject: Patch 7.3.272
|
|
Karsten Hopp |
1ede7c |
Fcc: outbox
|
|
Karsten Hopp |
1ede7c |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
1ede7c |
Mime-Version: 1.0
|
|
Karsten Hopp |
1ede7c |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
1ede7c |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
1ede7c |
------------
|
|
Karsten Hopp |
1ede7c |
|
|
Karsten Hopp |
1ede7c |
Patch 7.3.272
|
|
Karsten Hopp |
1ede7c |
Problem: ":put =list" does not add an empty line for a trailing empty
|
|
Karsten Hopp |
1ede7c |
item.
|
|
Karsten Hopp |
1ede7c |
Solution: Add a trailing NL when turning a list into a string.
|
|
Karsten Hopp |
1ede7c |
Files: src/eval.c
|
|
Karsten Hopp |
1ede7c |
|
|
Karsten Hopp |
1ede7c |
|
|
Karsten Hopp |
1ede7c |
*** ../vim-7.3.271/src/eval.c 2011-07-15 21:24:06.000000000 +0200
|
|
Karsten Hopp |
1ede7c |
--- src/eval.c 2011-08-10 12:31:51.000000000 +0200
|
|
Karsten Hopp |
1ede7c |
***************
|
|
Karsten Hopp |
1ede7c |
*** 1357,1363 ****
|
|
Karsten Hopp |
1ede7c |
--- 1357,1367 ----
|
|
Karsten Hopp |
1ede7c |
{
|
|
Karsten Hopp |
1ede7c |
ga_init2(&ga, (int)sizeof(char), 80);
|
|
Karsten Hopp |
1ede7c |
if (tv.vval.v_list != NULL)
|
|
Karsten Hopp |
1ede7c |
+ {
|
|
Karsten Hopp |
1ede7c |
list_join(&ga, tv.vval.v_list, (char_u *)"\n", TRUE, 0);
|
|
Karsten Hopp |
1ede7c |
+ if (tv.vval.v_list->lv_len > 0)
|
|
Karsten Hopp |
1ede7c |
+ ga_append(&ga, NL);
|
|
Karsten Hopp |
1ede7c |
+ }
|
|
Karsten Hopp |
1ede7c |
ga_append(&ga, NUL);
|
|
Karsten Hopp |
1ede7c |
retval = (char_u *)ga.ga_data;
|
|
Karsten Hopp |
1ede7c |
}
|
|
Karsten Hopp |
1ede7c |
*** ../vim-7.3.271/src/version.c 2011-08-10 12:19:00.000000000 +0200
|
|
Karsten Hopp |
1ede7c |
--- src/version.c 2011-08-10 12:36:41.000000000 +0200
|
|
Karsten Hopp |
1ede7c |
***************
|
|
Karsten Hopp |
1ede7c |
*** 711,712 ****
|
|
Karsten Hopp |
1ede7c |
--- 711,714 ----
|
|
Karsten Hopp |
1ede7c |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
1ede7c |
+ /**/
|
|
Karsten Hopp |
1ede7c |
+ 272,
|
|
Karsten Hopp |
1ede7c |
/**/
|
|
Karsten Hopp |
1ede7c |
|
|
Karsten Hopp |
1ede7c |
--
|
|
Karsten Hopp |
1ede7c |
Lose weight, NEVER Diet again with
|
|
Karsten Hopp |
1ede7c |
The "Invisible Weight Loss Patch"
|
|
Karsten Hopp |
1ede7c |
(spam e-mail)
|
|
Karsten Hopp |
1ede7c |
|
|
Karsten Hopp |
1ede7c |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
1ede7c |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
1ede7c |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
1ede7c |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|