summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-10-26 10:06:47 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-10-26 10:06:47 +0000
commitd7a37f48fd12d95134ae9db262f36452471c495e (patch)
tree9f5c4c8f9454abf2deb1d15ef3191f9f423b4d6c
parent60a99da05465c150ff0ee11b6494f2cad2934487 (diff)
downloadzsh-d7a37f48fd12d95134ae9db262f36452471c495e.tar.gz
zsh-d7a37f48fd12d95134ae9db262f36452471c495e.tar.xz
zsh-d7a37f48fd12d95134ae9db262f36452471c495e.zip
21939: new UNMETACHECK() was too ruthless
-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] == '-') {