mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -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:
@@ -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
|
||||
|
Reference in New Issue
Block a user