Karsten Hopp 13577b
To: vim_dev@googlegroups.com
Karsten Hopp 13577b
Subject: Patch 7.3.488
Karsten Hopp 13577b
Fcc: outbox
Karsten Hopp 13577b
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 13577b
Mime-Version: 1.0
Karsten Hopp 13577b
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 13577b
Content-Transfer-Encoding: 8bit
Karsten Hopp 13577b
------------
Karsten Hopp 13577b
Karsten Hopp 13577b
Patch 7.3.488
Karsten Hopp 13577b
Problem:    ":help!" in a help file does not work as document.
Karsten Hopp 13577b
Solution:   When in a help file don't give an error message. (thinca)
Karsten Hopp 13577b
Files:	    src/ex_cmds.c
Karsten Hopp 13577b
Karsten Hopp 13577b
Karsten Hopp 13577b
*** ../vim-7.3.487/src/ex_cmds.c	2012-03-16 14:32:10.000000000 +0100
Karsten Hopp 13577b
--- src/ex_cmds.c	2012-04-01 14:25:35.000000000 +0200
Karsten Hopp 13577b
***************
Karsten Hopp 13577b
*** 5546,5552 ****
Karsten Hopp 13577b
  	}
Karsten Hopp 13577b
  	arg = eap->arg;
Karsten Hopp 13577b
  
Karsten Hopp 13577b
! 	if (eap->forceit && *arg == NUL)
Karsten Hopp 13577b
  	{
Karsten Hopp 13577b
  	    EMSG(_("E478: Don't panic!"));
Karsten Hopp 13577b
  	    return;
Karsten Hopp 13577b
--- 5546,5552 ----
Karsten Hopp 13577b
  	}
Karsten Hopp 13577b
  	arg = eap->arg;
Karsten Hopp 13577b
  
Karsten Hopp 13577b
! 	if (eap->forceit && *arg == NUL && !curbuf->b_help)
Karsten Hopp 13577b
  	{
Karsten Hopp 13577b
  	    EMSG(_("E478: Don't panic!"));
Karsten Hopp 13577b
  	    return;
Karsten Hopp 13577b
*** ../vim-7.3.487/src/version.c	2012-03-28 19:58:34.000000000 +0200
Karsten Hopp 13577b
--- src/version.c	2012-04-05 16:04:13.000000000 +0200
Karsten Hopp 13577b
***************
Karsten Hopp 13577b
*** 716,717 ****
Karsten Hopp 13577b
--- 716,719 ----
Karsten Hopp 13577b
  {   /* Add new patch number below this line */
Karsten Hopp 13577b
+ /**/
Karsten Hopp 13577b
+     488,
Karsten Hopp 13577b
  /**/
Karsten Hopp 13577b
Karsten Hopp 13577b
Karsten Hopp 13577b
-- 
Karsten Hopp 13577b
I'd like to meet the man who invented sex and see what he's working on now.
Karsten Hopp 13577b
Karsten Hopp 13577b
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 13577b
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 13577b
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 13577b
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///