mirror of
https://github.com/vim/vim.git
synced 2025-10-01 04:54:07 -04:00
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 #9491)
This commit is contained in:
committed by
Bram Moolenaar
parent
370791465e
commit
748b308eeb
@@ -454,6 +454,7 @@ set_string_option_direct_in_win(
|
||||
unblock_autocmds();
|
||||
}
|
||||
|
||||
#if defined(FEAT_PROP_POPUP) || defined(PROTO)
|
||||
/*
|
||||
* Like set_string_option_direct(), but for a buffer-local option in "buf".
|
||||
* Blocks autocommands to avoid the old curbuf becoming invalid.
|
||||
@@ -477,6 +478,7 @@ set_string_option_direct_in_buf(
|
||||
curwin->w_buffer = curbuf;
|
||||
unblock_autocmds();
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Set a string option to a new value, and handle the effects.
|
||||
|
Reference in New Issue
Block a user