comparison src/os_unix.c @ 28773:d770568e6c98 v8.2.4911

patch 8.2.4911: the mode #defines are not clearly named Commit: https://github.com/vim/vim/commit/249591057b4840785c50e41dd850efb8a8faf435 Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 7 20:01:16 2022 +0100 patch 8.2.4911: the mode #defines are not clearly named Problem: The mode #defines are not clearly named. Solution: Prepend MODE_. Renumber them to put the mapped modes first.
author Bram Moolenaar <Bram@vim.org>
date Sat, 07 May 2022 21:15:06 +0200
parents 0533e7466ef0
children d0241e74bfdb
comparison
equal deleted inserted replaced
28772:7b07ca0bb292 28773:d770568e6c98
4974 * This can probably dead-lock when the write blocks! 4974 * This can probably dead-lock when the write blocks!
4975 */ 4975 */
4976 p_more_save = p_more; 4976 p_more_save = p_more;
4977 p_more = FALSE; 4977 p_more = FALSE;
4978 old_State = State; 4978 old_State = State;
4979 State = EXTERNCMD; // don't redraw at window resize 4979 State = MODE_EXTERNCMD; // don't redraw at window resize
4980 4980
4981 if ((options & SHELL_WRITE) && toshell_fd >= 0) 4981 if ((options & SHELL_WRITE) && toshell_fd >= 0)
4982 { 4982 {
4983 // Fork a process that will write the lines to the 4983 // Fork a process that will write the lines to the
4984 // external program. 4984 // external program.