emacs-devel
[Top][All Lists]
Advanced

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

Starnge comment in Custom Theme code.


From: Luc Teirlinck
Subject: Starnge comment in Custom Theme code.
Date: Sat, 24 Dec 2005 10:30:06 -0600 (CST)

What does the following comment starting on line 679 of custom.el
mean?  I believe that we decided that a theme should never override a
value defined with setq or otherwise set outside Custom.  So the user
value does not have to "come back", it never goes away.

What does the code that follows the comment do?  Nobody will ever find
bugs in the Themes code by using it, because nobody is using it.  So
the only way to find bugs is to read the source code and see what it
does.  Did anybody ever do that?  I tried and concluded that it was
just an incoherent bunch of nonsense, that was not worth trying to fix.

      ;; Add a new setting.
      ;; If the user changed the value outside of Customize, we
      ;; first save the current value to a fake theme, `standard'.
      ;; This ensures that the user-set value comes back if the
      ;; theme is later disabled.

Sincerely,

Luc.





reply via email to

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