summary refs log tree commit diff
path: root/bin/cash/libedit/editline.3
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-01-19 00:04:06 -0500
committerJune McEnroe <june@causal.agency>2019-01-19 00:04:06 -0500
commit8f97b95aee84aba6d4c8869a7a9eb98e446e9b32 (patch)
treea4a23ac94bcc3d1582c7982e363ea0bda4434d6a /bin/cash/libedit/editline.3
parentAdd H_SAVE_INCR function to libedit (diff)
downloadsrc-8f97b95aee84aba6d4c8869a7a9eb98e446e9b32.tar.gz
src-8f97b95aee84aba6d4c8869a7a9eb98e446e9b32.zip
Take event number for save incr
ev cannot be used for input, as the first thing history() does is clear
it.
Diffstat (limited to '')
-rw-r--r--bin/cash/libedit/editline.312
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/cash/libedit/editline.3 b/bin/cash/libedit/editline.3
index 96ea5282..a27e24ce 100644
--- a/bin/cash/libedit/editline.3
+++ b/bin/cash/libedit/editline.3
@@ -838,9 +838,9 @@ 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
+.It Dv H_SAVE_INCR , Fa "const char *file" , Fa "int e"
+Append the history list since the event numbered
+.Fa e
 to
 .Fa file .
 .It Dv H_SAVE_FP , Fa "FILE *fp"
@@ -848,9 +848,9 @@ 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
+.It Dv H_SAVE_FP_INCR , Fa "FILE *fp" , Fa "int e"
+Append the history list since the event numbered
+.Fa e
 to the opened
 .Ft FILE
 pointer