summaryrefslogtreecommitdiffstats
path: root/src/structs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/structs.h b/src/structs.h
index ebeefd091f..a44bcec4cb 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -1845,8 +1845,8 @@ struct file_buffer
int b_flags; /* various BF_ flags */
#ifdef FEAT_AUTOCMD
- int b_closing; /* buffer is being closed, don't let
- autocommands close it too. */
+ int b_locked; /* Buffer is being closed or referenced, don't
+ let autocommands wipe it out. */
#endif
/*