mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.1.2101: write_session_file() often defined but not used
Problem: write_session_file() often defined but not used. Solution: Adjust the #ifdef. (Yegappan Lakshmanan, closes #4998)
This commit is contained in:
parent
ee1a2b5a2a
commit
ac02a638b4
@ -985,7 +985,9 @@ ex_loadview(exarg_T *eap)
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(FEAT_GUI) || defined(PROTO)
|
||||
# if defined(USE_GNOME_SESSION) \
|
||||
|| (defined(GUI_MAY_SPAWN) && defined(EXPERIMENTAL_GUI_CMD)) \
|
||||
|| defined(PROTO)
|
||||
/*
|
||||
* Generate a script that can be used to restore the current editing session.
|
||||
* Save the value of v:this_session before running :mksession in order to make
|
||||
|
@ -753,6 +753,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2101,
|
||||
/**/
|
||||
2100,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user