mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 20:18:32 +00:00
vim-patch:8.1.0230: directly checking 'buftype' value
Problem: Directly checking 'buftype' value.
Solution: Add the bt_normal() function. (Yegappan Lakshmanan)
91335e5a67
This commit is contained in:
@@ -4834,7 +4834,7 @@ buf_check_timestamp(
|
||||
if (buf->terminal
|
||||
|| buf->b_ffname == NULL
|
||||
|| buf->b_ml.ml_mfp == NULL
|
||||
|| *buf->b_p_bt != NUL
|
||||
|| !bt_normal(buf)
|
||||
|| buf->b_saving
|
||||
|| busy
|
||||
)
|
||||
|
Reference in New Issue
Block a user