|
From: | Andreas Röhler |
Subject: | Re: Modifying many function calls |
Date: | Wed, 27 Oct 2010 13:09:10 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 |
[ ... ]
And since I'm here, why I can't redefine a variable with defcustom? I mean if I do (defcustom x 1) then I want to change it and I write and evaluate (defcustom x 2) then even if I set it to nil and the reevaluate again still it doesn't care. Is that normal?
AFAIK yes. It's little bit like with `defvar', but not that strictly, rather unpredictable.
Use `setq', resp. a setq afterwards to make sure the new value is taken.
[Prev in Thread] | Current Thread | [Next in Thread] |