summaryrefslogtreecommitdiff
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2009-03-05 02:15:53 +0000
committerBram Moolenaar <Bram@vim.org>2009-03-05 02:15:53 +0000
commitbf1b7a7efeabc6161ce476ed82340e422c15eb09 (patch)
treebbb98acb47ac5da46b62063c47dde048ab3d6603 /src/globals.h
parentfab0623bcf60333f047f27b03ca05311eeb4485f (diff)
downloadvim-git-bf1b7a7efeabc6161ce476ed82340e422c15eb09.tar.gz
updated for version 7.2-132v7.2.132
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index 3236a1e91..548927afd 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -619,6 +619,11 @@ EXTERN int textlock INIT(= 0);
EXTERN int curbuf_lock INIT(= 0);
/* non-zero when the current buffer can't be
* changed. Used for FileChangedRO. */
+EXTERN int allbuf_lock INIT(= 0);
+ /* non-zero when no buffer name can be
+ * changed, no buffer can be deleted and
+ * current directory can't be changed.
+ * Used for SwapExists et al. */
#endif
#ifdef FEAT_EVAL
# define HAVE_SANDBOX