Mercurial > vim
comparison src/evalbuffer.c @ 27018:268f6a3511df v8.2.4038
patch 8.2.4038: various code not used when features are disabled
Commit: https://github.com/vim/vim/commit/748b308eebe8d8860888eb27da08333f175d547d
Author: Dominique Pelle <dominique.pelle@gmail.com>
Date: Sat Jan 8 12:41:16 2022 +0000
patch 8.2.4038: various code not used when features are disabled
Problem: Various code not used when features are disabled.
Solution: Add #ifdefs. (Dominique Pell?, closes https://github.com/vim/vim/issues/9491)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 08 Jan 2022 13:45:04 +0100 |
parents | aa613a3084b9 |
children | b907d4a36318 |
comparison
equal
deleted
inserted
replaced
27017:da790d50f73d | 27018:268f6a3511df |
---|---|
862 if (did_emsg == did_emsg_before) | 862 if (did_emsg == did_emsg_before) |
863 set_buffer_lines(curbuf, lnum, FALSE, &argvars[1], rettv); | 863 set_buffer_lines(curbuf, lnum, FALSE, &argvars[1], rettv); |
864 } | 864 } |
865 #endif // FEAT_EVAL | 865 #endif // FEAT_EVAL |
866 | 866 |
867 #if defined(FEAT_JOB_CHANNEL) \ | 867 #if defined(FEAT_PYTHON) || defined(FEAT_PYTHON3) || defined(PROTO) |
868 || defined(FEAT_PYTHON) || defined(FEAT_PYTHON3) \ | |
869 || defined(PROTO) | |
870 /* | 868 /* |
871 * Make "buf" the current buffer. restore_buffer() MUST be called to undo. | 869 * Make "buf" the current buffer. restore_buffer() MUST be called to undo. |
872 * No autocommands will be executed. Use aucmd_prepbuf() if there are any. | 870 * No autocommands will be executed. Use aucmd_prepbuf() if there are any. |
873 */ | 871 */ |
874 void | 872 void |