[Top][All Lists]

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

Re: customize-rouge output with emacs -q --no-site-file

From: Luc Teirlinck
Subject: Re: customize-rouge output with emacs -q --no-site-file
Date: Fri, 4 Feb 2005 19:56:58 -0600 (CST)

Lennart Borgman wrote:

   (defun startup-set-standard-value (symbol)
     "Set the current value of SYMBOL as the standard value for Customize."
     (when (boundp symbol)
       (put symbol 'standard-value (list symbol))))

   (startup-set-standard-value 'baud-rate)

Does that code not mean that the saved-value of baud-rate is always
going to be '(baud-rate), I mean the list containing the _symbol_
baud-rate, _not_ the value of baud-rate which you tried to record?
That is the bug I encountered when copying that code into a mapatoms
(and which I warned about earlier.)



reply via email to

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