Subject: bug#58513: describe-function should say that defconst variables are constant

From: Stefan Kangas <[email-masked]>
Date: Fri, 14 Oct 2022 08:03:10 -0500

Lars Ingebrigtsen <[email-masked]> writes:

> And we could start adding a symbol property saying that a constant is
> meant to be constant, and perhaps start warning if people change it, but
> that would make things slower for basic things like `setq', so I'm
> pretty sure it's not worth it.

Yes, incurring a run-time cost doesn't sound worth it, but we could
perhaps make the byte-compiler warn about it.