diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2024-03-06 20:58:41 +0100 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-03-06 20:58:41 +0100 |
commit | 9db39b0ec90600bb41faec3a12b934b17c298b1f (patch) | |
tree | a667be2b951aafde7aef9d1f5909f0cc315d8eec /src/fileio.c | |
parent | 7ac1145fbebb66dfee325dc5265309877d941c4e (diff) |
patch 9.1.0154: shm=F not respected when reloading buffer with 'autoread'v9.1.0154
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>
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index d293d713d3..344c819e7e 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -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) |