emacs-devel
[Top][All Lists]
Advanced

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

Re: doc elisp intro cross reference fixes


From: Per Abrahamsen
Subject: Re: doc elisp intro cross reference fixes
Date: Wed, 26 Nov 2003 19:09:20 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Kevin Rodgers <address@hidden> writes:

> Why not just (defalias 'set-variable 'customize-variable) and be
> done with it?

It is an entirely different interface.

  (defalias 'set-variable 'customize-set-variable)

or 

  (defalias 'set-variable 'customize-set-value)

would make sense though.  The difference is that the first uses the
:set function, the later doesn't.

Both also set the 'customized-value' property so the variable will not
be flagged as "modified outside customize" later.

And they both will use the :prompt-value property of the custom type
(if any) to make the input smarter in some cases.





reply via email to

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