emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: How to set and save a defcustom]


From: Chong Yidong
Subject: Re: address@hidden: How to set and save a defcustom]
Date: Mon, 05 Mar 2007 16:11:22 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux)

"Per Abrahamsen" <address@hidden> writes:

> This patch has not been tested:

This solution is correct.  I already installed a similar patch.

> 2007-03-05  Per Abrahamsen  <address@hidden>
>
>       * cus-edit.el (customize-save-variable): Removed customized value.
>
> *** cus-edit.el.~1.196.~      2004-12-02 15:15:59.000000000 +0100
> --- cus-edit.el       2007-03-05 10:17:13.000000000 +0100
> ***************
> *** 816,821 ****
> --- 816,822 ----
>                                      current-prefix-arg))
>    (funcall (or (get variable 'custom-set) 'set-default) variable value)
>    (put variable 'saved-value (list (custom-quote value)))
> +   (put variable 'customized-value nil)
>    (custom-push-theme 'theme-value variable 'user 'set (list
> (custom-quote value)))
>    (cond ((string= comment "")
>        (put variable 'variable-comment nil)




reply via email to

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