Karsten Hopp 96d369
To: vim-dev@vim.org
Karsten Hopp 96d369
Subject: patch 7.1.019
Karsten Hopp 96d369
Fcc: outbox
Karsten Hopp 96d369
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 96d369
Mime-Version: 1.0
Karsten Hopp 96d369
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp 96d369
Content-Transfer-Encoding: 8bit
Karsten Hopp 96d369
------------
Karsten Hopp 96d369
Karsten Hopp 96d369
Patch 7.1.019
Karsten Hopp 96d369
Problem:    ":py" asks for an argument, ":py asd" then gives the error that
Karsten Hopp 96d369
	    ":py" isn't implemented.  Should already happen for ":py".
Karsten Hopp 96d369
Solution:   Compare with ex_script_ni. (Chris Lubinski)
Karsten Hopp 96d369
Files:	    src/ex_docmd.c
Karsten Hopp 96d369
Karsten Hopp 96d369
Karsten Hopp 96d369
*** ../vim-7.1.018/src/ex_docmd.c	Thu May 10 18:53:03 2007
Karsten Hopp 96d369
--- src/ex_docmd.c	Sat Jun 23 13:36:37 2007
Karsten Hopp 96d369
***************
Karsten Hopp 96d369
*** 2118,2124 ****
Karsten Hopp 96d369
  #ifdef FEAT_USR_CMDS
Karsten Hopp 96d369
  	    !USER_CMDIDX(ea.cmdidx) &&
Karsten Hopp 96d369
  #endif
Karsten Hopp 96d369
! 	    cmdnames[ea.cmdidx].cmd_func == ex_ni);
Karsten Hopp 96d369
  
Karsten Hopp 96d369
  #ifndef FEAT_EVAL
Karsten Hopp 96d369
      /*
Karsten Hopp 96d369
--- 2118,2125 ----
Karsten Hopp 96d369
  #ifdef FEAT_USR_CMDS
Karsten Hopp 96d369
  	    !USER_CMDIDX(ea.cmdidx) &&
Karsten Hopp 96d369
  #endif
Karsten Hopp 96d369
! 	    (cmdnames[ea.cmdidx].cmd_func == ex_ni
Karsten Hopp 96d369
! 	     || cmdnames[ea.cmdidx].cmd_func == ex_script_ni));
Karsten Hopp 96d369
  
Karsten Hopp 96d369
  #ifndef FEAT_EVAL
Karsten Hopp 96d369
      /*
Karsten Hopp 96d369
*** ../vim-7.1.018/src/version.c	Thu Jun 28 22:14:28 2007
Karsten Hopp 96d369
--- src/version.c	Thu Jul  5 09:48:11 2007
Karsten Hopp 96d369
***************
Karsten Hopp 96d369
*** 668,669 ****
Karsten Hopp 96d369
--- 668,671 ----
Karsten Hopp 96d369
  {   /* Add new patch number below this line */
Karsten Hopp 96d369
+ /**/
Karsten Hopp 96d369
+     19,
Karsten Hopp 96d369
  /**/
Karsten Hopp 96d369
Karsten Hopp 96d369
-- 
Karsten Hopp 96d369
MARTHA'S WAY: Don't throw out all that leftover wine. Freeze into ice cubes
Karsten Hopp 96d369
              for future use in casseroles and sauces.
Karsten Hopp 96d369
MY WAY:       What leftover wine?
Karsten Hopp 96d369
Karsten Hopp 96d369
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 96d369
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 96d369
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 96d369
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///