about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Src/Zle/zle_tricky.c3
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 10062d56c..03a2881cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-02-20  Peter Stephenson  <p.w.stephenson@ntlworld.com>
+
+	* 26588: Src/Zle/zle_tricky.c: don't expand aliases in run-help
+	since the run-help function can do that.
+
 2009-02-20  Peter Stephenson  <pws@csr.com>
 
 	* 26584: configure.ac, Src/Modules/tcp.h: use bind/netdb.h where
@@ -11215,5 +11220,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4574 $                         
+* $Revision: 1.4575 $                         
 *****************************************************
diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c
index f9ae3aa1b..1fcb4dee6 100644
--- a/Src/Zle/zle_tricky.c
+++ b/Src/Zle/zle_tricky.c
@@ -2799,8 +2799,7 @@ processcmd(UNUSED(char **args))
     char *s;
     int m = zmult, na = noaliases;
 
-    if (!strcmp(bindk->nam, "which-command"))
-	noaliases = 1;
+    noaliases = 1;
     s = getcurcmd();
     noaliases = na;
     if (!s)