diff src/ex_cmds.c @ 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 3465a9e77588
children 17bfcb054cb7
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;