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 -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/201909291703.x8TH3Mfm020771%40masaka.moolenaar.net.

Raspunde prin e-mail lui