[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: set-variable and defcustom
From: |
Chong Yidong |
Subject: |
Re: set-variable and defcustom |
Date: |
Sat, 05 Mar 2011 14:12:27 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Jay Belanger <address@hidden> writes:
> Interesting discussion, some of which even touched on Emacs.
> While reading it (and the mention of merging `set-variable' and
> `customize-set-variable'), I noticed that `customize-set-variable' will
> use defcustom's :set value, but not the :get value. Since
> `customize-set-variable' and friends get the value of the variable from
> `custom-prompt-variable', I was wondering if it would be appropriate to have
> `custom-prompt-variable' use defcustom's :get value when it finds the
> current value of the variable, similarly to how `customize-set-variable'
> uses defcustom's :set value, namely:
Yes, this looks right. The docstring should be fixed, too.