To: vim_dev@googlegroups.com Subject: Patch 8.1.2101 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.1.2101 Problem: write_session_file() often defined but not used. Solution: Adjust the #ifdef. (Yegappan Lakshmanan, closes #4998) Files: src/session.c *** ../vim-8.1.2100/src/session.c 2019-09-01 16:01:25.584754569 +0200 --- src/session.c 2019-09-29 19:01:22.884986928 +0200 *************** *** 985,991 **** } } ! #if defined(FEAT_GUI) || 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 --- 985,993 ---- } } ! # 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 *** ../vim-8.1.2100/src/version.c 2019-09-29 14:23:35.792563008 +0200 --- src/version.c 2019-09-29 19:02:26.556711986 +0200 *************** *** 755,756 **** --- 755,758 ---- { /* Add new patch number below this line */ + /**/ + 2101, /**/ -- Windows M!uqoms /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///