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: Richard Stallman
Subject: bug#21695: 25.0.50; Change most occurrences of `setq' in Emacs manual to `customize-set-variable'? Really?
Date: Sun, 12 Sep 2021 21:17:15 -0400

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > >> Then I still don't get what you mean.  An autoloaded but not yet loaded 
  > >> variable doesn't have its custom-set property set, so in that case 
  > >> there would be no warning with the proposed patch.  Warnings are 
  > >> displayed only for customs variables that are "fully" loaded, and who 
  > >> have a :set property.

This is not a problem.

If at the end of the in it file the defcustom has not been executed
then the setq of the variable will cause no trouble.  Executing the defcustom
will fix things up.

If at the end of the in it file the defcustom HAS been executed,
then the variable will be on all the lists it is supposed to be on,
and the fix I proposed will DTRT with it.

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)







reply via email to

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