]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.488 v7.3.488
authorBram Moolenaar <Bram@vim.org>
Thu, 5 Apr 2012 14:05:05 +0000 (16:05 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 5 Apr 2012 14:05:05 +0000 (16:05 +0200)
Problem:    ":help!" in a help file does not work as document.
Solution:   When in a help file don't give an error message. (thinca)

src/ex_cmds.c
src/version.c

index 661fba6c72ecba497ac074f9f9af94e2969d8143..2f0f1f4d337a5746ff2a91cd15af36d1616194c8 100644 (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;
index ba2b0304511c7ff7007ae6260d365fdc708e3653..8bcdd3075fc4310eb6702ecd97445106ff9ac925 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    488,
 /**/
     487,
 /**/