summaryrefslogtreecommitdiff
path: root/src/undo.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-01-20 23:10:18 +0000
committerBram Moolenaar <Bram@vim.org>2006-01-20 23:10:18 +0000
commitb71eaaeaa8193b0cbb67496de6ad16ced80b8b09 (patch)
tree29e50b81ba2e1352e1f1940398e1b3507b8ea2c6 /src/undo.c
parent2d3f489e09a1cc50f5b7601eff568a4eb87fbd51 (diff)
downloadvim-git-b71eaaeaa8193b0cbb67496de6ad16ced80b8b09.tar.gz
updated for version 7.0183v7.0183
Diffstat (limited to 'src/undo.c')
-rw-r--r--src/undo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/undo.c b/src/undo.c
index 1b69cf111..bd0db743c 100644
--- a/src/undo.c
+++ b/src/undo.c
@@ -182,7 +182,7 @@ undo_allowed()
/* Don't allow changes in the buffer while editing the cmdline. The
* caller of getcmdline() may get confused. */
- if (cmdline_busy)
+ if (textlock != 0)
{
EMSG(_(e_secure));
return FALSE;