Patch 8.1.2275
Problem:    Using "seesion" looks like a mistake.
Solution:   Use an underscore to make the function sort first.
Files:      src/testdir/test_mksession.vim


*** ../vim-8.1.2274/src/testdir/test_mksession.vim      2019-09-29 
14:23:35.792563008 +0200
--- src/testdir/test_mksession.vim      2019-11-09 16:57:03.415832529 +0100
***************
*** 9,14 ****
--- 9,37 ----
  source shared.vim
  source term_util.vim
  
+ " Test for storing global and local argument list in a session file
+ " This one must be done first.
+ func Test__mksession_arglocal()
+   enew | only
+   n a b c
+   new
+   arglocal
+   mksession! Xtest_mks.out
+ 
+   %bwipe!
+   %argdelete
+   argglobal
+   source Xtest_mks.out
+   call assert_equal(2, winnr('$'))
+   call assert_equal(2, arglistid(1))
+   call assert_equal(0, arglistid(2))
+ 
+   %bwipe!
+   %argdelete
+   argglobal
+   call delete('Xtest_mks.out')
+ endfunc
+ 
  func Test_mksession()
    tabnew
    let wrap_save = &wrap
***************
*** 598,625 ****
    set sessionoptions&
  endfunc
  
- " Test for storing global and local argument list in a session file
- func Test_mkseesion_arglocal()
-   enew | only
-   n a b c
-   new
-   arglocal
-   mksession! Xtest_mks.out
- 
-   %bwipe!
-   %argdelete
-   argglobal
-   source Xtest_mks.out
-   call assert_equal(2, winnr('$'))
-   call assert_equal(2, arglistid(1))
-   call assert_equal(0, arglistid(2))
- 
-   %bwipe!
-   %argdelete
-   argglobal
-   call delete('Xtest_mks.out')
- endfunc
- 
  " Test for changing directory to the session file directory
  func Test_mksession_sesdir()
    call mkdir('Xproj')
--- 621,626 ----
*** ../vim-8.1.2274/src/version.c       2019-11-09 16:59:09.363100382 +0100
--- src/version.c       2019-11-09 17:18:21.588422948 +0100
***************
*** 743,744 ****
--- 743,746 ----
  {   /* Add new patch number below this line */
+ /**/
+     2275,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
48. You get a tatoo that says "This body best viewed with Netscape 3.1 or
    higher."

 /// Bram Moolenaar -- b...@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    ///

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/201911091619.xA9GJPwJ023898%40masaka.moolenaar.net.

Raspunde prin e-mail lui