Karsten Hopp 81c285
To: vim-dev@vim.org
Karsten Hopp 81c285
Subject: Patch 7.2.151
Karsten Hopp 81c285
Fcc: outbox
Karsten Hopp 81c285
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 81c285
Mime-Version: 1.0
Karsten Hopp 81c285
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp 81c285
Content-Transfer-Encoding: 8bit
Karsten Hopp 81c285
------------
Karsten Hopp 81c285
Karsten Hopp 81c285
Patch 7.2.151
Karsten Hopp 81c285
Problem:    ":hist a" doesn't work like ":hist all" as the docs suggest.
Karsten Hopp 81c285
Solution:   Make ":hist a" and ":hist al" work. (Dominique Pelle)
Karsten Hopp 81c285
Files:	    src/ex_getln.c
Karsten Hopp 81c285
Karsten Hopp 81c285
Karsten Hopp 81c285
*** ../vim-7.2.150/src/ex_getln.c	Wed Mar 18 12:50:58 2009
Karsten Hopp 81c285
--- src/ex_getln.c	Sun Apr 12 13:36:06 2009
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 5686,5692 ****
Karsten Hopp 81c285
  	histype1 = get_histtype(arg);
Karsten Hopp 81c285
  	if (histype1 == -1)
Karsten Hopp 81c285
  	{
Karsten Hopp 81c285
! 	    if (STRICMP(arg, "all") == 0)
Karsten Hopp 81c285
  	    {
Karsten Hopp 81c285
  		histype1 = 0;
Karsten Hopp 81c285
  		histype2 = HIST_COUNT-1;
Karsten Hopp 81c285
--- 5686,5692 ----
Karsten Hopp 81c285
  	histype1 = get_histtype(arg);
Karsten Hopp 81c285
  	if (histype1 == -1)
Karsten Hopp 81c285
  	{
Karsten Hopp 81c285
! 	    if (STRNICMP(arg, "all", STRLEN(arg)) == 0)
Karsten Hopp 81c285
  	    {
Karsten Hopp 81c285
  		histype1 = 0;
Karsten Hopp 81c285
  		histype2 = HIST_COUNT-1;
Karsten Hopp 81c285
*** ../vim-7.2.150/src/version.c	Wed Apr 22 13:06:11 2009
Karsten Hopp 81c285
--- src/version.c	Wed Apr 22 13:49:41 2009
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 678,679 ****
Karsten Hopp 81c285
--- 678,681 ----
Karsten Hopp 81c285
  {   /* Add new patch number below this line */
Karsten Hopp 81c285
+ /**/
Karsten Hopp 81c285
+     151,
Karsten Hopp 81c285
  /**/
Karsten Hopp 81c285
Karsten Hopp 81c285
-- 
Karsten Hopp 81c285
I'm sure that I asked CBuilder to do a "full" install.  Looks like I got
Karsten Hopp 81c285
a "fool" install, instead.		Charles E Campbell, Jr, PhD
Karsten Hopp 81c285
Karsten Hopp 81c285
Karsten Hopp 81c285
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 81c285
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 81c285
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 81c285
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///