refactor: remove all mentions to curbuf_lock

This commit is contained in:
Thomas Vigouroux
2021-07-08 07:51:41 +02:00
parent f8ed13c0dc
commit b35fefc57f
5 changed files with 18 additions and 15 deletions

View File

@@ -525,7 +525,8 @@ struct file_buffer {
int b_flags; // various BF_ flags
int b_locked; // Buffer is being closed or referenced, don't
// let autocommands wipe it out.
int b_ro_locked; // Replacement for curbuf_lock
int b_ro_locked; // Non-zero when the buffer can't be changed.
// Used for FileChangedRO
//
// b_ffname has the full path of the file (NULL for no name).