updated for version 7.0183
diff --git a/src/edit.c b/src/edit.c
index ab3558a..8dc07fd 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -291,7 +291,7 @@
 #endif
     /* 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;