[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Question about set-variable in .emacs
From: |
Drew Adams |
Subject: |
Question about set-variable in .emacs |
Date: |
Fri, 17 Feb 2006 09:14:51 -0800 |
I just had a user who put (setq foo t) in his .emacs. Option foo is defined
with a defcustom that limits its possible values to a :choice that does not
include t.
I wonder what we recommend people to put in their .emacs in such
situations - that is, people who choose not to use Customize (at least for
that option).
setq obviously won't respect the variable-interactive or defcustom typing.
Should we recommend that people code (custom-set-variables ...) by hand? (I
would expect not.)
Should we recommend that they use (set-variable ...)? My guess is that it
might generally be better for people to use (set-variable ...) in .emacs
than (setq ...).
Is there already a recommendation for this? If not, WDOT?
- Question about set-variable in .emacs,
Drew Adams <=