To: vim_dev@googlegroups.com Subject: Patch 8.2.4355 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///