bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#56400: Make setopt warn on type mismatch


From: Stefan Kangas
Subject: bug#56400: Make setopt warn on type mismatch
Date: Tue, 5 Jul 2022 08:32:29 -0700

Severity: wishlist

Why not make `setopt' warn in case there is a type mismatch?
For example, in:

    (setopt tetris-buffer-width "hello")

But the type of `tetris-buffer-width' is natnum.

I think this would save users from shooting themselves in the foot.
If they are sure they want to do that, they can use `setq' or
`customize-set-variable' directly.





reply via email to

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