comparison src/fileio.c @ 34495:d43c2e4b645c v9.1.0154

patch 9.1.0154: shm=F not respected when reloading buffer with 'autoread' Commit: https://github.com/vim/vim/commit/9db39b0ec90600bb41faec3a12b934b17c298b1f Author: Shougo Matsushita <Shougo.Matsu@gmail.com> Date: Wed Mar 6 20:58:41 2024 +0100 patch 9.1.0154: shm=F not respected when reloading buffer with 'autoread' Problem: shm=F not respected when reloading buffer with 'autoread' Solution: Check SHM_FILEINFO in buf_check_timestamp() (Shougo Matsushita) closes: #14144 Signed-off-by: Shougo Matsushita <Shougo.Matsu@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Wed, 06 Mar 2024 21:15:03 +0100
parents 8303936dbd64
children a00f7e176c34
comparison
equal deleted inserted replaced
34494:0729698bec21 34495:d43c2e4b645c
4292 #if defined(FEAT_CON_DIALOG) || defined(FEAT_GUI_DIALOG) 4292 #if defined(FEAT_CON_DIALOG) || defined(FEAT_GUI_DIALOG)
4293 can_reload = TRUE; 4293 can_reload = TRUE;
4294 #endif 4294 #endif
4295 } 4295 }
4296 4296
4297 if (mesg != NULL) 4297 if (mesg != NULL && !shortmess(SHM_FILEINFO))
4298 { 4298 {
4299 path = home_replace_save(buf, buf->b_fname); 4299 path = home_replace_save(buf, buf->b_fname);
4300 if (path != NULL) 4300 if (path != NULL)
4301 { 4301 {
4302 if (!helpmesg) 4302 if (!helpmesg)