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

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

bug#21695: 25.0.50; Change most occurrences of `setq' in Emacs manual to


From: Gregory Heytings
Subject: bug#21695: 25.0.50; Change most occurrences of `setq' in Emacs manual to `customize-set-variable'? Really?
Date: Thu, 09 Sep 2021 12:12:40 +0000


* src/eval.c (Fsetq): Display warning when a custom variable with a :set property is set with setq.

It's usually fine to set user options that have a :set form with setq -- if you do it before the .el file it belongs in is loaded. Finding a variable it's problematic to use setq on in .emacs took some digging (when I added the example in the manual).


Hmm... Unless I'm missing something, the case you mention (setq'ing a variable before the .el file is loaded) will not issue a warning. The example I used is (setq gdb-many-windows t).





reply via email to

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