commit bash-20210115 snapshot

This commit is contained in:
Chet Ramey
2021-01-19 17:12:43 -05:00
parent a9cf0031ef
commit 3aec0ec30f
11 changed files with 187 additions and 24 deletions
+1 -3
View File
@@ -664,15 +664,13 @@ set_saved_history ()
}
int
rl_operate_and_get_next (count, c)
int count, c;
rl_operate_and_get_next (int count, int c)
{
/* Accept the current line. */
rl_newline (1, c);
saved_history_logical_offset = rl_explicit_arg ? count : where_history () + history_base + 1;
_rl_saved_internal_startup_hook = _rl_internal_startup_hook;
_rl_internal_startup_hook = set_saved_history;