[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scratch/list-threads 833a2d4 2/9: Make lisp/thread.el the new home f
From: |
Stefan Monnier |
Subject: |
Re: scratch/list-threads 833a2d4 2/9: Make lisp/thread.el the new home for thread-related Lisp functions |
Date: |
Fri, 31 Aug 2018 09:19:58 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> It would work, of course. But I'm a finicky German :-) `featurep' is the
> default way in Emacs to check, whether a feature exist, so I've done it
> this way.
Actually, fboundp is a much more common way to perform such tests,
especially since it can silence some warnings at the same occasion.
(featurep 'xemacs) is an important exception, tho.
> So we might provide the feature `threads-supported' or similar in
> src/thread.c. WDYT?
What's wrong with (fboundp 'make-thread)?
Stefan