diff options
author | ZyX <kp-pav@yandex.ru> | 2017-04-03 02:11:27 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-04-03 02:11:27 +0300 |
commit | 97a7f4745dd1d75cd176dede1a4430bc4e28f8f7 (patch) | |
tree | 61d1be3481822dfbc6f1183c2e07a89ab536cbe5 /runtime | |
parent | 5dcf2804455f45eac8aad7d900bf60464a4b2888 (diff) | |
download | rneovim-97a7f4745dd1d75cd176dede1a4430bc4e28f8f7.tar.gz rneovim-97a7f4745dd1d75cd176dede1a4430bc4e28f8f7.tar.bz2 rneovim-97a7f4745dd1d75cd176dede1a4430bc4e28f8f7.zip |
eval: Add s flag, use p_fs by default, error out on unknown flag
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 727199f742..7060cc4186 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -7916,10 +7916,11 @@ writefile({list}, {fname} [, {flags}]) :call writefile(["foo"], "event.log", "a") :call writefile(["bar"], "event.log", "a") < - When {flags} contains "S" fsync() call is not used. This means - that writefile() will finish faster, but writes may be left in - OS buffers and not yet written to disk. Such changes will - disappear if system crashes before OS does writing. + When {flags} contains "S" fsync() call is not used, with "s" + it is used, 'fsync' option applies by default. No fsync() + means that writefile() will finish faster, but writes may be + left in OS buffers and not yet written to disk. Such changes + will disappear if system crashes before OS does writing. All NL characters are replaced with a NUL character. Inserting CR characters needs to be done before passing {list} |