about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2012-08-25 18:02:32 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2012-08-25 18:02:32 +0000
commit9c49c8dd27cf0570703e39a11853f10bcf60fec1 (patch)
treeea79cda35b2d007f0b76418fbbab3b0464850fea
parent13b8a25456f038e0dbf7daf187cb0e5b9b9558c9 (diff)
downloadzsh-9c49c8dd27cf0570703e39a11853f10bcf60fec1.tar.gz
zsh-9c49c8dd27cf0570703e39a11853f10bcf60fec1.tar.xz
zsh-9c49c8dd27cf0570703e39a11853f10bcf60fec1.zip
John Stahara: 30641: bindkey -N error report is misleading
when copying keymap.
-rw-r--r--ChangeLog7
-rw-r--r--Src/Zle/zle_keymap.c2
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d1c87a57f..f3c91a44d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-08-25  Peter Stephenson  <p.w.stephenson@ntlworld.com>
+
+	* John Stahara: 30641: Src/Zle/zle_keymap.c: bindkey -N
+	error report is misleading when copying keymap.
+
 2012-08-23  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* Jun T: 30640 (plus additional comment): Src/zsh.h,
@@ -114,5 +119,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5710 $
+* $Revision: 1.5711 $
 *****************************************************
diff --git a/Src/Zle/zle_keymap.c b/Src/Zle/zle_keymap.c
index c3731c47b..e21e769bd 100644
--- a/Src/Zle/zle_keymap.c
+++ b/Src/Zle/zle_keymap.c
@@ -912,7 +912,7 @@ bin_bindkey_new(char *name, UNUSED(char *kmname), Keymap km, char **argv, UNUSED
     if(argv[1]) {
 	km = openkeymap(argv[1]);
 	if(!km) {
-	    zwarnnam(name, "no such keymap `%s'", argv[0]);
+	    zwarnnam(name, "no such keymap `%s'", argv[1]);
 	    return 1;
 	}
     } else