0
0
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:
Bram Moolenaar 2019-09-29 19:02:46 +02:00
parent ee1a2b5a2a
commit ac02a638b4
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -753,6 +753,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2101,
/**/
2100,
/**/