Patch 8.2.3569
Problem:    Error for :let when vimrc is Vim 9 script.
Solution:   Prepend :legacy in the code for converting arguments. (Christian
            Brabandt, closes #9068, closes #9077)
Files:      src/os_win32.c


*** ../vim-8.2.3568/src/os_win32.c      2021-07-24 12:57:25.481296527 +0100
--- src/os_win32.c      2021-11-01 22:44:05.573583003 +0000
***************
*** 7768,7778 ****
        // Also, unset wildignore to not be influenced by this option.
        // The arguments specified in command-line should be kept even if
        // encoding options were changed.
!       do_cmdline_cmd((char_u *)":let SaVe_ISF = &isf|set isf+=(,)");
!       do_cmdline_cmd((char_u *)":let SaVe_WIG = &wig|set wig=");
        alist_expand(fnum_list, used_alist_count);
!       do_cmdline_cmd((char_u *)":let &isf = SaVe_ISF|unlet SaVe_ISF");
!       do_cmdline_cmd((char_u *)":let &wig = SaVe_WIG|unlet SaVe_WIG");
      }
  
      // If wildcard expansion failed, we are editing the first file of the
--- 7768,7781 ----
        // Also, unset wildignore to not be influenced by this option.
        // The arguments specified in command-line should be kept even if
        // encoding options were changed.
!       // Use :legacy so that it also works when in Vim9 script.
!       do_cmdline_cmd((char_u *)":legacy let g:SaVe_ISF = &isf|set isf+=(,)");
!       do_cmdline_cmd((char_u *)":legacy let g:SaVe_WIG = &wig|set wig=");
        alist_expand(fnum_list, used_alist_count);
!       do_cmdline_cmd(
!               (char_u *)":legacy let &isf = g:SaVe_ISF|unlet g:SaVe_ISF");
!       do_cmdline_cmd(
!               (char_u *)":legacy let &wig = g:SaVe_WIG|unlet g:SaVe_WIG");
      }
  
      // If wildcard expansion failed, we are editing the first file of the
*** ../vim-8.2.3568/src/version.c       2021-10-31 20:19:13.004618816 +0000
--- src/version.c       2021-11-01 22:44:03.425554377 +0000
***************
*** 759,760 ****
--- 759,762 ----
  {   /* Add new patch number below this line */
+ /**/
+     3569,
  /**/

-- 
This is an airconditioned room, do not open Windows.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            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/20211101224510.AEFBBC80054%40moolenaar.net.

Raspunde prin e-mail lui