emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `thunk-let'?


From: Noam Postavsky
Subject: Re: `thunk-let'?
Date: Wed, 22 Nov 2017 13:04:05 -0500

On Wed, Nov 22, 2017 at 12:44 PM, Gemini Lasswell <address@hidden> wrote:
> Michael Heerdegen <address@hidden> writes:
>
>> +  (should-error (byte-compile (thunk-let ((x 1 1)) x)))
>> +  (should-error (byte-compile (thunk-let (27) x)))
>> +  (should-error (byte-compile (thunk-let x x))))
>
> Since the thunk-let forms aren't quoted, should-error is catching the
> evaluation error of the thunk-let form before byte-compile is called.
> And to my knowledge byte-compile doesn't signal errors, just issues
> warnings.

Binding `byte-compile-debug' to non-nil should let it signal errors.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]