summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-06-03 13:38:17 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-06-03 13:38:17 +0000
commit099dc207fa63dfb9d0bd16c8b084eff00a3761da (patch)
tree1dddc994dd75f696ee9b0a459d2a390662a064da
parentc617e5a07b30051e5a02bcc8233ddc5501447c59 (diff)
downloadzsh-099dc207fa63dfb9d0bd16c8b084eff00a3761da.tar.gz
zsh-099dc207fa63dfb9d0bd16c8b084eff00a3761da.tar.xz
zsh-099dc207fa63dfb9d0bd16c8b084eff00a3761da.zip
27994: better error for failed parameter autoload
-rw-r--r--ChangeLog7
-rw-r--r--Src/params.c3
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 383f36111..b35137970 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-06-03  Peter Stephenson  <pws@csr.com>
+
+	* 27994: Src/params.c: better error message when failing to
+	autoload parameter.
+
 2010-05-03  Frank Terbeck  <ft@bewatermyfriend.org>
 
 	* Holger Weiss: 27977: Completion/Unix/Command/_git: shouldn't
@@ -13194,5 +13199,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4989 $
+* $Revision: 1.4990 $
 *****************************************************
diff --git a/Src/params.c b/Src/params.c
index 576de2f52..8a34618fe 100644
--- a/Src/params.c
+++ b/Src/params.c
@@ -461,7 +461,8 @@ getparamnode(HashTable ht, const char *nam)
 	     * stuff to go ahead with the autoload stub with
 	     * no error status we're in for all sorts of mayhem?
 	     */
-	    zerr("unknown parameter: %s", nam);
+	    zerr("autoloading module %s failed to define parameter: %s", mn,
+		 nam);
 	}
     }
     return hn;