Patch 8.2.4355
Problem:    Unnecessary call to check_colorcolumn().
Solution:   Remove the call. (Sean Dewar, closes #9748)
Files:      src/option.c, src/window.c


*** ../vim-8.2.4354/src/option.c        2022-02-01 17:26:09.334119249 +0000
--- src/option.c        2022-02-12 11:43:28.914267226 +0000
***************
*** 5604,5610 ****
   * After copying window options: update variables depending on options.
   */
      void
! after_copy_winopt(win_T *wp UNUSED)
  {
  #ifdef FEAT_LINEBREAK
      briopt_check(wp);
--- 5604,5610 ----
   * After copying window options: update variables depending on options.
   */
      void
! after_copy_winopt(win_T *wp)
  {
  #ifdef FEAT_LINEBREAK
      briopt_check(wp);
*** ../vim-8.2.4354/src/window.c        2022-02-07 13:56:40.592793019 +0000
--- src/window.c        2022-02-12 11:46:32.177678508 +0000
***************
*** 1414,1423 ****
  #endif
  
      win_init_some(newp, oldp);
- 
- #ifdef FEAT_SYN_HL
-     check_colorcolumn(newp);
- #endif
  #ifdef FEAT_TERMINAL
      term_update_wincolor(newp);
  #endif
--- 1414,1419 ----
*** ../vim-8.2.4354/src/version.c       2022-02-12 11:18:32.318462415 +0000
--- src/version.c       2022-02-12 11:47:34.781503381 +0000
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     4355,
  /**/

-- 
"You know, it's at times like this when I'm trapped in a Vogon airlock with
a man from Betelgeuse and about to die of asphyxiation in deep space that I
really wish I'd listened to what my mother told me when I was young!"
"Why, what did she tell you?"
"I don't know, I didn't listen!"
                -- Arthur Dent and Ford Prefect in Douglas Adams'
                   "The Hitchhiker's Guide to the Galaxy"

 /// 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/20220212115151.E31C21C1149%40moolenaar.net.

Raspunde prin e-mail lui