feat!: remove hardcopy

Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
This commit is contained in:
Lewis Russell
2023-01-03 10:07:43 +00:00
committed by GitHub
parent 7b76a3e799
commit 5841a97500
95 changed files with 44 additions and 9012 deletions

View File

@@ -672,25 +672,6 @@ int eval_charconvert(const char *const enc_from, const char *const enc_to,
return OK;
}
int eval_printexpr(const char *const fname, const char *const args)
{
bool err = false;
set_vim_var_string(VV_FNAME_IN, fname, -1);
set_vim_var_string(VV_CMDARG, args, -1);
if (eval_to_bool(p_pexpr, &err, NULL, false)) {
err = true;
}
set_vim_var_string(VV_FNAME_IN, NULL, -1);
set_vim_var_string(VV_CMDARG, NULL, -1);
if (err) {
os_remove(fname);
return FAIL;
}
return OK;
}
void eval_diff(const char *const origfile, const char *const newfile, const char *const outfile)
{
bool err = false;