summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-04-21 16:05:34 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-04-21 16:05:34 +0000
commit0c11cb5b477e0e7c589f4fa0f00f3f27064141c4 (patch)
treefac30d84e78efca730bd92b68017b514151252fd
parente70b53a12703a7856078349c848e3aee3ca80131 (diff)
downloadzsh-0c11cb5b477e0e7c589f4fa0f00f3f27064141c4.tar.gz
zsh-0c11cb5b477e0e7c589f4fa0f00f3f27064141c4.zip
Greg: 26862: remove unnecessary print
-rw-r--r--ChangeLog5
-rw-r--r--Functions/Misc/run-help1
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 52f0063ba..82714d0cc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2009-04-21 Peter Stephenson <pws@csr.com>
+ * Greg Klanderman: 26862: Functions/Misc/run-help: remove
+ unecessary "print".
+
* Greg Klanderman (26861) + 26863:
Completion/Base/Widget/_read_comp: don't warn over unset
parameters but typeset -g _read_comp anyway.
@@ -11595,5 +11598,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4661 $
+* $Revision: 1.4662 $
*****************************************************
diff --git a/Functions/Misc/run-help b/Functions/Misc/run-help
index f5464065d..1a8424cea 100644
--- a/Functions/Misc/run-help
+++ b/Functions/Misc/run-help
@@ -54,7 +54,6 @@ while ((i++ < $#places))
do
what=$places[$i]
[[ -n $noalias && $what = *" is an alias "* ]] && continue
- builtin print -r $what
case $what in
(*( is an alias)*)
[[ ${what[(w)6]:t} != ${what[(w)1]} ]] && run-help ${what[(w)6]:t}