changeset 3446:8691bdcdbf66 v7.3.488

updated for version 7.3.488 Problem: ":help!" in a help file does not work as document. Solution: When in a help file don't give an error message. (thinca)
author Bram Moolenaar <bram@vim.org>
date Thu, 05 Apr 2012 16:05:05 +0200
parents 2cfb68fa26cd
children 5d2bbb05be1b
files src/ex_cmds.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -5546,7 +5546,7 @@ ex_help(eap)
 	}
 	arg = eap->arg;
 
-	if (eap->forceit && *arg == NUL)
+	if (eap->forceit && *arg == NUL && !curbuf->b_help)
 	{
 	    EMSG(_("E478: Don't panic!"));
 	    return;
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    488,
+/**/
     487,
 /**/
     486,