comparison src/buffer.c @ 26771:fc859aea8cec v8.2.3914

patch 8.2.3914: various spelling mistakes in comments Commit: https://github.com/vim/vim/commit/af4a61a85d6e8cacc35324f266934bc463a21673 Author: Dominique Pelle <dominique.pelle@gmail.com> Date: Mon Dec 27 17:21:41 2021 +0000 patch 8.2.3914: various spelling mistakes in comments Problem: Various spelling mistakes in comments. Solution: Fix the mistakes. (Dominique Pell?, closes https://github.com/vim/vim/issues/9416)
author Bram Moolenaar <Bram@vim.org>
date Mon, 27 Dec 2021 18:30:05 +0100
parents fac6673086df
children 6ee19c6ae8a2
comparison
equal deleted inserted replaced
26770:15ff3f2e0d58 26771:fc859aea8cec
1821 1821
1822 // Make sure the buffer is loaded. 1822 // Make sure the buffer is loaded.
1823 if (curbuf->b_ml.ml_mfp == NULL) // need to load the file 1823 if (curbuf->b_ml.ml_mfp == NULL) // need to load the file
1824 { 1824 {
1825 // If there is no filetype, allow for detecting one. Esp. useful for 1825 // If there is no filetype, allow for detecting one. Esp. useful for
1826 // ":ball" used in a autocommand. If there already is a filetype we 1826 // ":ball" used in an autocommand. If there already is a filetype we
1827 // might prefer to keep it. 1827 // might prefer to keep it.
1828 if (*curbuf->b_p_ft == NUL) 1828 if (*curbuf->b_p_ft == NUL)
1829 did_filetype = FALSE; 1829 did_filetype = FALSE;
1830 1830
1831 open_buffer(FALSE, NULL, 0); 1831 open_buffer(FALSE, NULL, 0);
5029 } 5029 }
5030 sp->start = NULL; 5030 sp->start = NULL;
5031 sp->userhl = 0; 5031 sp->userhl = 0;
5032 } 5032 }
5033 5033
5034 // When inside update_screen we do not want redrawing a stausline, ruler, 5034 // When inside update_screen we do not want redrawing a statusline, ruler,
5035 // title, etc. to trigger another redraw, it may cause an endless loop. 5035 // title, etc. to trigger another redraw, it may cause an endless loop.
5036 if (updating_screen) 5036 if (updating_screen)
5037 { 5037 {
5038 must_redraw = save_must_redraw; 5038 must_redraw = save_must_redraw;
5039 curwin->w_redr_type = save_redr_type; 5039 curwin->w_redr_type = save_redr_type;