Ruijie Yu <rui...@netyu.xyz> writes:

>> 1. `setopt' already triggers loading when variable is set. It is just
>>    `setq', often used in place of `setopt', that does not trigger
>>    loading/unloading.
>
> Speaking of which, since we now (or are about to?) depend on compat, we
> can just do (require 'compat) and forget that `setopt' is an Emacs 29
> addition.

No. Compat does not support and does not plan to support `setopt' (see
https://elpa.gnu.org/packages/doc/compat.html#Limitations).
And it is not us who needs to use `setopt', but users.
We just have to deal with de facto situation with users using `setq'
mindlessly.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to