Patch 8.2.3804
Problem:    Script context not set when copying 'swf' and 'ts'.
Solution:   Use COPY_OPT_SCTX with the right argument. (closes #9347)
Files:      src/option.c


*** ../vim-8.2.3803/src/option.c        2021-12-07 12:23:53.987565086 +0000
--- src/option.c        2021-12-14 08:59:17.436282289 +0000
***************
*** 5925,5931 ****
            else
            {
                buf->b_p_swf = p_swf;
!               COPY_OPT_SCTX(buf, BV_INF);
            }
            buf->b_p_cpt = vim_strsave(p_cpt);
            COPY_OPT_SCTX(buf, BV_CPT);
--- 5925,5931 ----
            else
            {
                buf->b_p_swf = p_swf;
!               COPY_OPT_SCTX(buf, BV_SWF);
            }
            buf->b_p_cpt = vim_strsave(p_cpt);
            COPY_OPT_SCTX(buf, BV_CPT);
***************
*** 6127,6132 ****
--- 6127,6133 ----
                COPY_OPT_SCTX(buf, BV_ISK);
                did_isk = TRUE;
                buf->b_p_ts = p_ts;
+               COPY_OPT_SCTX(buf, BV_TS);
  #ifdef FEAT_VARTABS
                buf->b_p_vts = vim_strsave(p_vts);
                COPY_OPT_SCTX(buf, BV_VTS);
*** ../vim-8.2.3803/src/version.c       2021-12-14 08:41:26.407677988 +0000
--- src/version.c       2021-12-14 09:01:02.040159085 +0000
***************
*** 751,752 ****
--- 751,754 ----
  {   /* Add new patch number below this line */
+ /**/
+     3804,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
29. Your phone bill comes to your doorstep in a box.

 /// 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/20211214090412.CF6921C014A%40moolenaar.net.

Raspunde prin e-mail lui