mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.1.1582: cannot build with +textprop but without +timers
Problem: Cannot build with +textprop but without +timers. Solution: Add #ifdef. (Ola Söder, closes #4574)
This commit is contained in:
@@ -1051,8 +1051,10 @@ popup_create(typval_T *argvars, typval_T *rettv, create_type_T type)
|
||||
// Deal with options.
|
||||
apply_options(wp, argvars[1].vval.v_dict);
|
||||
|
||||
#ifdef FEAT_TIMERS
|
||||
if (type == TYPE_NOTIFICATION && wp->w_popup_timer == NULL)
|
||||
popup_add_timeout(wp, 3000);
|
||||
#endif
|
||||
|
||||
popup_adjust_position(wp);
|
||||
|
||||
|
Reference in New Issue
Block a user