# HG changeset patch # User Christian Brabandt # Date 1529696705 -7200 # Node ID 3c05b52ffad87987017b0f3741bc67bca27d1562 # Parent 03824af50785a697629c4163af05de2663791f85 patch 8.1.0096: inconsistent use of the word autocommands commit https://github.com/vim/vim/commit/8c55533c6f109db2a0fff69651887f9474eb09c6 Author: Bram Moolenaar Date: Fri Jun 22 21:30:31 2018 +0200 patch 8.1.0096: inconsistent use of the word autocommands Problem: Inconsistent use of the word autocommands. Solution: Don't use auto-commands or "auto commands". diff --git a/src/fileio.c b/src/fileio.c --- a/src/fileio.c +++ b/src/fileio.c @@ -8412,19 +8412,19 @@ au_event_restore(char_u *old_ei) * will be automatically executed for * when editing a file matching , in * the current group. - * :autocmd Show the auto-commands associated with + * :autocmd Show the autocommands associated with * and . - * :autocmd Show the auto-commands associated with + * :autocmd Show the autocommands associated with * . - * :autocmd Show all auto-commands. - * :autocmd! Remove all auto-commands associated with + * :autocmd Show all autocommands. + * :autocmd! Remove all autocommands associated with * and , and add the command * , for the current group. - * :autocmd! Remove all auto-commands associated with + * :autocmd! Remove all autocommands associated with * and for the current group. - * :autocmd! Remove all auto-commands associated with + * :autocmd! Remove all autocommands associated with * 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) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -762,6 +762,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 96, +/**/ 95, /**/ 94,