|
| From: | Stefan Monnier |
| Subject: | Re: How to break out of an emacs lisp loop ? |
| Date: | Tue, 23 Oct 2007 21:12:50 -0400 |
| User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) |
> #include <stdio.h>
> main(){
> int c;
> while ((c=getchar()) != EOF){ if (c=='a') break; }
> }
> So how do I break out of a loop in lisp ?
Try to first do it in C: rewrite the loop so it doesn't use break.
Stefan
| [Prev in Thread] | Current Thread | [Next in Thread] |