Skip to content

Commit 8c55533

Browse files
committed
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".
1 parent 39902a0 commit 8c55533

2 files changed

Lines changed: 12 additions & 10 deletions

File tree

‎src/fileio.c‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8412,19 +8412,19 @@ au_event_restore(char_u *old_ei)
84128412
* will be automatically executed for <event>
84138413
* when editing a file matching <pat>, in
84148414
* the current group.
8415-
* :autocmd <event> <pat> Show the auto-commands associated with
8415+
* :autocmd <event> <pat> Show the autocommands associated with
84168416
* <event> and <pat>.
8417-
* :autocmd <event> Show the auto-commands associated with
8417+
* :autocmd <event> Show the autocommands associated with
84188418
* <event>.
8419-
* :autocmd Show all auto-commands.
8420-
* :autocmd! <event> <pat> <cmd> Remove all auto-commands associated with
8419+
* :autocmd Show all autocommands.
8420+
* :autocmd! <event> <pat> <cmd> Remove all autocommands associated with
84218421
* <event> and <pat>, and add the command
84228422
* <cmd>, for the current group.
8423-
* :autocmd! <event> <pat> Remove all auto-commands associated with
8423+
* :autocmd! <event> <pat> Remove all autocommands associated with
84248424
* <event> and <pat> for the current group.
8425-
* :autocmd! <event> Remove all auto-commands associated with
8425+
* :autocmd! <event> Remove all autocommands associated with
84268426
* <event> for the current group.
8427-
* :autocmd! Remove ALL auto-commands for the current
8427+
* :autocmd! Remove ALL autocommands for the current
84288428
* group.
84298429
*
84308430
* Multiple events and patterns may be given separated by commas. Here are
@@ -8534,7 +8534,7 @@ do_autocmd(char_u *arg_in, int forceit)
85348534
if (!forceit && *cmd == NUL)
85358535
{
85368536
/* Highlight title */
8537-
MSG_PUTS_TITLE(_("\n--- Auto-Commands ---"));
8537+
MSG_PUTS_TITLE(_("\n--- Autocommands ---"));
85388538
}
85398539

85408540
/*
@@ -9602,7 +9602,7 @@ apply_autocmds_group(
96029602
autocmd_match = fname;
96039603

96049604

9605-
/* Don't redraw while doing auto commands. */
9605+
/* Don't redraw while doing autocommands. */
96069606
++RedrawingDisabled;
96079607
save_sourcing_name = sourcing_name;
96089608
sourcing_name = NULL; /* don't free this one */
@@ -9855,7 +9855,7 @@ auto_next_pat(
98559855
: ap->buflocal_nr == apc->arg_bufnr)
98569856
{
98579857
name = event_nr2name(apc->event);
9858-
s = _("%s Auto commands for \"%s\"");
9858+
s = _("%s Autocommands for \"%s\"");
98599859
sourcing_name = alloc((unsigned)(STRLEN(s)
98609860
+ STRLEN(name) + ap->patlen + 1));
98619861
if (sourcing_name != NULL)

‎src/version.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,8 @@ static char *(features[]) =
761761

762762
static int included_patches[] =
763763
{ /* Add new patch number below this line */
764+
/**/
765+
96,
764766
/**/
765767
95,
766768
/**/

0 commit comments

Comments
 (0)