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: Fri, 10 Sep 2021 13:49:07 +0000



Please see the solution I proposed in the past few days.


The solution you proposed is not optimal I think, in particular because variables can also be set interactively, e.g. with M-: or C-x C-e, so checking that they have been set correctly after loading the init file is not enough.

The proposed (two lines!) patch works in all cases. Its commit message was perhaps not clear enough, so I made it longer to make it (hopefully) crystal clear that it does TRT: there are no warnings for preloaded variables whose files are loaded after those variables have been setq'd.

Attachment: Warn-when-custom-variable-is-wrongly-set.patch
Description: Text Data


reply via email to

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