Mercurial > vim
comparison src/insexpand.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 | 1d9a7aa42744 |
children | a9eeb18e749c |
comparison
equal
deleted
inserted
replaced
27017:da790d50f73d | 27018:268f6a3511df |
---|---|
261 } | 261 } |
262 | 262 |
263 /* | 263 /* |
264 * Functions to check the current CTRL-X mode. | 264 * Functions to check the current CTRL-X mode. |
265 */ | 265 */ |
266 #ifdef FEAT_CINDENT | |
266 int ctrl_x_mode_none(void) { return ctrl_x_mode == 0; } | 267 int ctrl_x_mode_none(void) { return ctrl_x_mode == 0; } |
268 #endif | |
267 int ctrl_x_mode_normal(void) { return ctrl_x_mode == CTRL_X_NORMAL; } | 269 int ctrl_x_mode_normal(void) { return ctrl_x_mode == CTRL_X_NORMAL; } |
268 int ctrl_x_mode_scroll(void) { return ctrl_x_mode == CTRL_X_SCROLL; } | 270 int ctrl_x_mode_scroll(void) { return ctrl_x_mode == CTRL_X_SCROLL; } |
269 int ctrl_x_mode_whole_line(void) { return ctrl_x_mode == CTRL_X_WHOLE_LINE; } | 271 int ctrl_x_mode_whole_line(void) { return ctrl_x_mode == CTRL_X_WHOLE_LINE; } |
270 int ctrl_x_mode_files(void) { return ctrl_x_mode == CTRL_X_FILES; } | 272 int ctrl_x_mode_files(void) { return ctrl_x_mode == CTRL_X_FILES; } |
271 int ctrl_x_mode_tags(void) { return ctrl_x_mode == CTRL_X_TAGS; } | 273 int ctrl_x_mode_tags(void) { return ctrl_x_mode == CTRL_X_TAGS; } |