From 2e5c62271ec85214f8a6b3791183835d3d0206bc Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Fri, 18 Jan 2019 16:47:32 -0500 Subject: Add H_SAVE_INCR function to libedit --- bin/cash/libedit/editline.3 | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'bin/cash/libedit/editline.3') diff --git a/bin/cash/libedit/editline.3 b/bin/cash/libedit/editline.3 index 37bc035b..96ea5282 100644 --- a/bin/cash/libedit/editline.3 +++ b/bin/cash/libedit/editline.3 @@ -838,11 +838,23 @@ Load the history list stored in .It Dv H_SAVE , Fa "const char *file" Save the history list to .Fa file . +.It Dv H_SAVE_INCR , Fa "const char *file" +Append the history list since the previous event +.Fa ev +to +.Fa file . .It Dv H_SAVE_FP , Fa "FILE *fp" Save the history list to the opened .Ft FILE pointer .Fa fp . +.It Dv H_SAVE_FP_INCR , Fa "FILE *fp" +Append the history list since the previous event +.Fa ev +to the opened +.Ft FILE +pointer +.Fa fp . .It Dv H_SETUNIQUE , Fa "int unique" Set flag that adjacent identical event strings should not be entered into the history. -- cgit 1.4.1