emacs-devel
[Top][All Lists]
Advanced

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

Re: Documentation for custom-file - is not (load custom-file) needed?


From: Stefan Monnier
Subject: Re: Documentation for custom-file - is not (load custom-file) needed?
Date: Wed, 08 Dec 2004 13:04:26 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

How 'bout something like the following:

1 - remove custom-file

2 - custom-set-variables does internally:

    (push load-file-name custom-files)

3 - when saving, if custom-files is nil, use .emacs, if it has length 1, use
    (car custom-files), otherwise query the user to know where to save
    the settings and whether to remove the settings in the other files.

Of course, there can be many variations around this idea.  For one, we don't
actually have to remove custom-file.  Instead Custom could (when saving)
compare custom-file to custom-files in order to detect unexpected situations
and query the user about what he really wants to do.


        Stefan




reply via email to

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