emacs-devel
[Top][All Lists]
Advanced

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

Re: multiple queries to delete excess backup version w/ custom


From: Per Abrahamsen
Subject: Re: multiple queries to delete excess backup version w/ custom
Date: Sun, 6 Jan 2008 20:58:02 +0100

On Jan 6, 2008 8:21 PM, martin rudalics <address@hidden> wrote:
> I can find only `custom-variable-save', `custom-face-save', and
> `custom-group-save'.  And these are called only from the respective
> widgets and the corresponding menu entries.  Hence, all I'd have to do
> is, in `Custom-save' and `custom-group-save' call the method
> :custom-mark-for-saving for the respective children, implement that
> method with a function just like custom-...-save but with the call to
> `custom-save-all' omitted.  Or have I overseen something?

You might want to implement the function that saves as a call to the
function that merely marks for saving, followed by a call to to
custom-save-all, rather than duplicate the code.

If you invent a :custom-mark-for-saving, you will no longer need a
:custom-save method.




reply via email to

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