Mercurial > vim
diff src/edit.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 | 8dbdd68627bd |
children | a9eeb18e749c |
line wrap: on
line diff
--- a/src/edit.c +++ b/src/edit.c @@ -1715,6 +1715,7 @@ edit_putchar(int c, int highlight) } } +#if defined(FEAT_JOB_CHANNEL) || defined(PROTO) /* * Set the insert start position for when using a prompt buffer. */ @@ -1728,6 +1729,7 @@ set_insstart(linenr_T lnum, int col) Insstart_blank_vcol = MAXCOL; arrow_used = FALSE; } +#endif /* * Undo the previous edit_putchar().