Permalink
Browse files

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)
  • Loading branch information...
brammool committed Apr 5, 2012
1 parent 61d35bd commit 3dbde6226dbe05289215c1145e35961539ecd5a0
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/ex_cmds.c
  2. +2 −0 src/version.c
View
@@ -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;
View
@@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
488,
/**/
487,
/**/

0 comments on commit 3dbde62

Please sign in to comment.