0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

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)
This commit is contained in:
Bram Moolenaar
2012-04-05 16:05:05 +02:00
parent 61d35bd020
commit 3dbde6226d
2 changed files with 3 additions and 1 deletions

View File

@@ -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;