emacs-devel
[Top][All Lists]
Advanced

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

Re: Distinguishing `consp` and `functionp`


From: Stefan Monnier
Subject: Re: Distinguishing `consp` and `functionp`
Date: Mon, 29 Jan 2024 15:00:08 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

>> While it's in the vicinity, this is not directly related to my patch.
> I know, your patch doesn't address this.  But if I understand
> correctly it makes at least functionp return nil for the second one.
> Or at least makes way for it.

The patch I sent doesn't change `functionp`, but indeed makes way for
such a change (and changing `functionp` is the driving force behind it).

> And that's a plus in my book.

:-)

> Alright.  I wouldn't be surprised if I wasn't passing lists as lambdas
> around in that extension.  I used to do that, and saw many fall prety
> to this, when their lisps allow it.  The result is harder to debug code
> and harder to instrument.

I suspect all long-time Lispers have committed such sins at some point.
I'm to blame for the godawful `vc-exec-after` example I sent earlier today.


        Stefan




reply via email to

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