diff options
author | Lewis Russell <lewis6991@gmail.com> | 2023-01-03 10:07:43 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-03 10:07:43 +0000 |
commit | 5841a97500bffa5a2b9eed2eb41025f5587790ba (patch) | |
tree | 7df7a9a5612e134080f67ff8b4db5b795f4a26b0 /src/nvim/eval.c | |
parent | 7b76a3e7992bffca758b2e52548d2f483a45eaf6 (diff) | |
download | rneovim-5841a97500bffa5a2b9eed2eb41025f5587790ba.tar.gz rneovim-5841a97500bffa5a2b9eed2eb41025f5587790ba.tar.bz2 rneovim-5841a97500bffa5a2b9eed2eb41025f5587790ba.zip |
feat!: remove hardcopy
Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r-- | src/nvim/eval.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index 8214a1c916..8cb4a723e7 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -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; |