Karsten Hopp f2d7db
To: vim-dev@vim.org
Karsten Hopp f2d7db
Subject: patch 7.0.176
Karsten Hopp f2d7db
Fcc: outbox
Karsten Hopp f2d7db
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp f2d7db
Mime-Version: 1.0
Karsten Hopp f2d7db
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp f2d7db
Content-Transfer-Encoding: 8bit
Karsten Hopp f2d7db
------------
Karsten Hopp f2d7db
Karsten Hopp f2d7db
Patch 7.0.176
Karsten Hopp f2d7db
Problem:    ":emenu" isn't executed directly, causing the encryption key
Karsten Hopp f2d7db
	    prompt to fail. (Life Jazzer)
Karsten Hopp f2d7db
Solution:   Fix wrong #ifdef.
Karsten Hopp f2d7db
Files:	    src/menu.c
Karsten Hopp f2d7db
Karsten Hopp f2d7db
Karsten Hopp f2d7db
*** ../vim-7.0.175/src/menu.c	Wed Aug 16 21:42:34 2006
Karsten Hopp f2d7db
--- src/menu.c	Wed Nov 29 21:15:36 2006
Karsten Hopp f2d7db
***************
Karsten Hopp f2d7db
*** 2246,2252 ****
Karsten Hopp f2d7db
      {
Karsten Hopp f2d7db
  	/* When executing a script or function execute the commands right now.
Karsten Hopp f2d7db
  	 * Otherwise put them in the typeahead buffer. */
Karsten Hopp f2d7db
! #ifdef FEAT_En
Karsten Hopp f2d7db
  	if (current_SID != 0)
Karsten Hopp f2d7db
  	    exec_normal_cmd(menu->strings[idx], menu->noremap[idx],
Karsten Hopp f2d7db
  							   menu->silent[idx]);
Karsten Hopp f2d7db
--- 2246,2252 ----
Karsten Hopp f2d7db
      {
Karsten Hopp f2d7db
  	/* When executing a script or function execute the commands right now.
Karsten Hopp f2d7db
  	 * Otherwise put them in the typeahead buffer. */
Karsten Hopp f2d7db
! #ifdef FEAT_EVAL
Karsten Hopp f2d7db
  	if (current_SID != 0)
Karsten Hopp f2d7db
  	    exec_normal_cmd(menu->strings[idx], menu->noremap[idx],
Karsten Hopp f2d7db
  							   menu->silent[idx]);
Karsten Hopp f2d7db
*** ../vim-7.0.175/src/version.c	Tue Dec  5 10:33:57 2006
Karsten Hopp f2d7db
--- src/version.c	Tue Dec  5 21:31:03 2006
Karsten Hopp f2d7db
***************
Karsten Hopp f2d7db
*** 668,669 ****
Karsten Hopp f2d7db
--- 668,671 ----
Karsten Hopp f2d7db
  {   /* Add new patch number below this line */
Karsten Hopp f2d7db
+ /**/
Karsten Hopp f2d7db
+     176,
Karsten Hopp f2d7db
  /**/
Karsten Hopp f2d7db
Karsten Hopp f2d7db
-- 
Karsten Hopp f2d7db
-rwxr-xr-x  1 root          24 Oct 29  1929 /bin/ed
Karsten Hopp f2d7db
-rwxr-xr-t  4 root      131720 Jan  1  1970 /usr/ucb/vi
Karsten Hopp f2d7db
-rwxr-xr-x  1 root  5.89824e37 Oct 22  1990 /usr/bin/emacs
Karsten Hopp f2d7db
Karsten Hopp f2d7db
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp f2d7db
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp f2d7db
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp f2d7db
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///