[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why not tell about customize-set-variable?
From: |
Juri Linkov |
Subject: |
Re: Why not tell about customize-set-variable? |
Date: |
Mon, 23 Jun 2008 01:19:34 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) |
>> If I understand it correctly customize-set-variable can be used for
>> those who prefer to edit .emacs rather than use the custom interface.
>>
>> The two I know of are custom-set-faces and custom-set-variables. They
>> are put automatically into an initialization file by the Custom user
>> interface (that is how I discovered them) and can be edited manually.
>>
>> Their expressions look like this (from my .emacs file):
>>
>> (custom-set-variables '(Info-fontify t))
BTW, `Info-fontify' is an obsolete variable according to the comment
in `Info-mode-hook'.
>> (custom-set-faces
>> '(font-lock-comment-face
>> ((((class color) (background dark)) (:foreground "yellow")))))
>>
>> If so should not this be documented in Info?
>>
>> Yes, they should; I did not realize they weren't!
>
> custom-set-variable is on another level.
`customize-set-variable' is useful as a "command-line" replacement of the
Customization UI.
> I think there maybe is missing a very important piece of information from
> the doc string of custom-set-variables. Doest not calling that function
> set where to store customizations too?
Do you mean the docstring of `custom-set-variables' should mention that
normally the function `custom-set-variables' should be called from the
init file .emacs?
--
Juri Linkov
http://www.jurta.org/emacs/