On 1/29/10 2:12 PM, Carl Shapiro wrote:
On Fri, Jan 29, 2010 at 10:56 AM, Raymond Toy <toy.raymond@gmail.com <mailto:toy.raymond@gmail.com>> wrote:
How about overloading recklessly-p to include the exit code? If recklessly-p is a negative integer, do a reckless exit with and exit code of the absolute value of the code. If it's a positive integer, carefully exit with the given code.
These kinds of ugly interfaces should be limited to Emacs Lisp. If this had to change, and its not clear that it does, maybe adding keywords would be somewhat cleaner? I think the intent was something short and simple. If this is not clean enough, then perhaps (quite &optional recklessly-p (exit-code 0)) would be somewhat nicer, and fully backward compatible.
Ray