0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

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>
This commit is contained in:
Shougo Matsushita
2024-03-06 20:58:41 +01:00
committed by Christian Brabandt
parent 7ac1145fbe
commit 9db39b0ec9
4 changed files with 25 additions and 3 deletions

View File

@@ -4294,7 +4294,7 @@ buf_check_timestamp(
#endif
}
if (mesg != NULL)
if (mesg != NULL && !shortmess(SHM_FILEINFO))
{
path = home_replace_save(buf, buf->b_fname);
if (path != NULL)