about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Src/Zle/zle_thingy.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 048e465bd..df800c019 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-10-26  Peter Stephenson  <pws@csr.com>
+
+	* 21939: Src/Zle/zle_thingy.c: new UNMETACHECK() was too ruthless.
+
 2005-10-26  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* 21936: Src/Zle/zle_refresh.c: fix one bug when deleting
diff --git a/Src/Zle/zle_thingy.c b/Src/Zle/zle_thingy.c
index b24e686b8..da273132e 100644
--- a/Src/Zle/zle_thingy.c
+++ b/Src/Zle/zle_thingy.c
@@ -358,8 +358,6 @@ bin_zle(char *name, char **args, Options ops, UNUSED(int func))
     struct opn const *op, *opp;
     int n;
 
-    UNMETACHECK();
-
     /* select operation and ensure no clashing arguments */
     for(op = opns; op->o && !OPT_ISSET(ops,STOUC(op->o)); op++) ;
     if(op->o)
@@ -659,6 +657,8 @@ bin_zle_call(char *name, char **args, UNUSED(Options ops), UNUSED(char func))
 	return 1;
     }
 
+    UNMETACHECK();
+
     while (*args && **args == '-') {
 	char *num;
 	if (!args[0][1] || args[0][1] == '-') {