commit | 3dbde6226dbe05289215c1145e35961539ecd5a0 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Apr 05 16:05:05 2012 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Apr 05 16:05:05 2012 +0200 |
tree | cb18f61173c199a79e5125025f8704b4e3e93467 | |
parent | 61d35bd0201074a70a10e9a2ea5d6a251abf1b20 [diff] [blame] |
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)
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 661fba6..2f0f1f4 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c
@@ -5546,7 +5546,7 @@ } arg = eap->arg; - if (eap->forceit && *arg == NUL) + if (eap->forceit && *arg == NUL && !curbuf->b_help) { EMSG(_("E478: Don't panic!")); return;