[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.
- bug#56400: Make setopt warn on type mismatch,
Stefan Kangas <=
bug#56400: Make setopt warn on type mismatch, Juri Linkov, 2022/07/06