comparison 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
comparison
equal deleted inserted replaced
27017:da790d50f73d 27018:268f6a3511df
1713 } 1713 }
1714 screen_putchar(c, pc_row, pc_col, attr); 1714 screen_putchar(c, pc_row, pc_col, attr);
1715 } 1715 }
1716 } 1716 }
1717 1717
1718 #if defined(FEAT_JOB_CHANNEL) || defined(PROTO)
1718 /* 1719 /*
1719 * Set the insert start position for when using a prompt buffer. 1720 * Set the insert start position for when using a prompt buffer.
1720 */ 1721 */
1721 void 1722 void
1722 set_insstart(linenr_T lnum, int col) 1723 set_insstart(linenr_T lnum, int col)
1726 Insstart_orig = Insstart; 1727 Insstart_orig = Insstart;
1727 Insstart_textlen = Insstart.col; 1728 Insstart_textlen = Insstart.col;
1728 Insstart_blank_vcol = MAXCOL; 1729 Insstart_blank_vcol = MAXCOL;
1729 arrow_used = FALSE; 1730 arrow_used = FALSE;
1730 } 1731 }
1732 #endif
1731 1733
1732 /* 1734 /*
1733 * Undo the previous edit_putchar(). 1735 * Undo the previous edit_putchar().
1734 */ 1736 */
1735 void 1737 void