Make Del in win always close the window. Notes: Thu Mar 23 10:13:31 EST 2006 rsc I'm not sure about this but I'm willing to try it. Reference: /n/sources/patch/applied/win-del-delete Date: Mon Mar 20 10:55:20 CET 2006 Signed-off-by: uriel@cat-v.org Reviewed-by: rsc --- /acme/bin/source/win/main.c Mon Mar 20 09:51:42 2006 +++ /acme/bin/source/win/main.c Mon Mar 20 09:51:18 2006 @@ -106,14 +106,9 @@ { while(*s==' ' || *s=='\t' || *s=='\n') s++; - if(strcmp(s, "Delete")==0){ + if(strcmp(s, "Delete")==0 || strcmp(s, "Del")==0){ windel(w, 1); threadexitsall(nil); - return 1; - } - if(strcmp(s, "Del")==0){ - if(windel(w, 0)) - threadexitsall(nil); return 1; } if(EQUAL(s, "scroll")){