Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
bindkey even worse
- X-seq: zsh-workers 514
- From: pws@xxxxxx (Peter William Stephenson)
- To: zsh-workers@xxxxxxxxxxxxxxx (Zsh hackers list)
- Subject: bindkey even worse
- Date: Wed, 1 Nov 1995 12:02:19 +0100 (MET)
This time, printbinding() is looking for a string to print out when it
should be looking for a key name.
*** Src/zle_main.c.bk Sun Oct 29 11:50:39 1995
--- Src/zle_main.c Wed Nov 1 11:58:24 1995
***************
*** 824,833 ****
Key k = (Key) hn;
int len;
! if (k->func == z_undefinedkey)
return;
putc('\"', bindout);
! printbind(k->str, (len = strlen(k->str)) ? len : 1);
fprintf(bindout, "\"\t");
if (k->func == z_sendstring) {
putc('\"', bindout);
--- 824,833 ----
Key k = (Key) hn;
int len;
! if (!k || k->func == z_undefinedkey)
return;
putc('\"', bindout);
! printbind(k->nam, (len = strlen(k->nam)) ? len : 1);
fprintf(bindout, "\"\t");
if (k->func == z_sendstring) {
putc('\"', bindout);
--
Peter Stephenson <pws@xxxxxx> Tel: +49 33762 77366
WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77330
Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author