emacs-devel
[Top][All Lists]
Advanced

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

RE: Customization problem


From: Drew Adams
Subject: RE: Customization problem
Date: Sat, 4 Nov 2006 07:32:43 -0800

>     In this case, a third-party library uses 
>     `custom-set-variable'. This is done
>     via `kill-emacs-hook' using this function:
> 
>     (defun icicle-control-reminder-prompt ()
>       "If `icicle-reminder-prompt-flag' > 0, then decrement it 
>     and save it. Used in `kill-emacs-hook'."
>       (when (and (wholenump icicle-reminder-prompt-flag)
>           (> icicle-reminder-prompt-flag 0))
>       (condition-case nil
>           (customize-save-variable
>             'icicle-reminder-prompt-flag
>             (1- icicle-reminder-prompt-flag))
>         (error nil))))
> 
> It uses customize-save-variable.  It does not (that I can see)
> use custom-set-variable.

You're right about that. 




reply via email to

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