Skip to content

Commit

Permalink
updated for version 7.3.488
Browse files Browse the repository at this point in the history
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 3dbde62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/ex_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -714,6 +714,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
488,
/**/
487,
/**/
Expand Down

0 comments on commit 3dbde62

Please sign in to comment.