summaryrefslogtreecommitdiffstats
path: root/src/proto/fileio.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-07-24 15:02:03 +0200
committerBram Moolenaar <Bram@vim.org>2013-07-24 15:02:03 +0200
commitad875fb7fff85d313fa35acde1afaec998d347d7 (patch)
tree384af81a849113f3c2fcc5c4abd66c126f4cc3e8 /src/proto/fileio.pro
parente24a9c0b592a11743475166c873a5c346c65f73d (diff)
updated for version 7.4a.041v7.4a.041
Problem: When using ":new ++ff=unix" and "dos" is first in 'fileformats' then 'ff' is set to "dos" instead of "unix". (Ingo Karkat) Solution: Create set_file_options() and invoke it from do_ecmd().
Diffstat (limited to 'src/proto/fileio.pro')
-rw-r--r--src/proto/fileio.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/proto/fileio.pro b/src/proto/fileio.pro
index b24b958958..7aa99cfa8a 100644
--- a/src/proto/fileio.pro
+++ b/src/proto/fileio.pro
@@ -2,6 +2,8 @@
void filemess __ARGS((buf_T *buf, char_u *name, char_u *s, int attr));
int readfile __ARGS((char_u *fname, char_u *sfname, linenr_T from, linenr_T lines_to_skip, linenr_T lines_to_read, exarg_T *eap, int flags));
int prep_exarg __ARGS((exarg_T *eap, buf_T *buf));
+void set_file_options __ARGS((int set_options, exarg_T *eap));
+void set_forced_fenc __ARGS((exarg_T *eap));
int prepare_crypt_read __ARGS((FILE *fp));
char_u *prepare_crypt_write __ARGS((buf_T *buf, int *lenp));
int check_file_readonly __ARGS((char_u *fname, int perm));