]> granicus.if.org Git - vim/commitdiff
patch 8.1.0096: inconsistent use of the word autocommands v8.1.0096
authorBram Moolenaar <Bram@vim.org>
Fri, 22 Jun 2018 19:30:31 +0000 (21:30 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 22 Jun 2018 19:30:31 +0000 (21:30 +0200)
Problem:    Inconsistent use of the word autocommands.
Solution:   Don't use auto-commands or "auto commands".

src/fileio.c
src/version.c

index 428e40824935e5923123706cf2ed8fc8b4818a75..0c56a1ef0f798f97d1ec9a951495edd8ab58216f 100644 (file)
@@ -8412,19 +8412,19 @@ au_event_restore(char_u *old_ei)
  *                                 will be automatically executed for <event>
  *                                 when editing a file matching <pat>, in
  *                                 the current group.
- * :autocmd <event> <pat>          Show the auto-commands associated with
+ * :autocmd <event> <pat>          Show the autocommands associated with
  *                                 <event> and <pat>.
- * :autocmd <event>                Show the auto-commands associated with
+ * :autocmd <event>                Show the autocommands associated with
  *                                 <event>.
- * :autocmd                        Show all auto-commands.
- * :autocmd! <event> <pat> <cmd>    Remove all auto-commands associated with
+ * :autocmd                        Show all autocommands.
+ * :autocmd! <event> <pat> <cmd>    Remove all autocommands associated with
  *                                 <event> and <pat>, and add the command
  *                                 <cmd>, for the current group.
- * :autocmd! <event> <pat>         Remove all auto-commands associated with
+ * :autocmd! <event> <pat>         Remove all autocommands associated with
  *                                 <event> and <pat> for the current group.
- * :autocmd! <event>               Remove all auto-commands associated with
+ * :autocmd! <event>               Remove all autocommands associated with
  *                                 <event> for the current group.
- * :autocmd!                       Remove ALL auto-commands for the current
+ * :autocmd!                       Remove ALL autocommands for the current
  *                                 group.
  *
  *  Multiple events and patterns may be given separated by commas.  Here are
@@ -8534,7 +8534,7 @@ do_autocmd(char_u *arg_in, int forceit)
     if (!forceit && *cmd == NUL)
     {
        /* Highlight title */
-       MSG_PUTS_TITLE(_("\n--- Auto-Commands ---"));
+       MSG_PUTS_TITLE(_("\n--- Autocommands ---"));
     }
 
     /*
@@ -9602,7 +9602,7 @@ apply_autocmds_group(
     autocmd_match = fname;
 
 
-    /* Don't redraw while doing auto commands. */
+    /* Don't redraw while doing autocommands. */
     ++RedrawingDisabled;
     save_sourcing_name = sourcing_name;
     sourcing_name = NULL;      /* don't free this one */
@@ -9855,7 +9855,7 @@ auto_next_pat(
                    : ap->buflocal_nr == apc->arg_bufnr)
            {
                name = event_nr2name(apc->event);
-               s = _("%s Auto commands for \"%s\"");
+               s = _("%s Autocommands for \"%s\"");
                sourcing_name = alloc((unsigned)(STRLEN(s)
                                            + STRLEN(name) + ap->patlen + 1));
                if (sourcing_name != NULL)
index 4bd054c7f1dc01f74ac9eee701b4e8e2b720db8c..eda5ad42d71c500a99cf581cd21a17e49f6edebb 100644 (file)
@@ -761,6 +761,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    96,
 /**/
     95,
 /**/