emacs-devel
[Top][All Lists]
Advanced

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

Re: define-obsolete-variable-alias problem


From: Stefan Monnier
Subject: Re: define-obsolete-variable-alias problem
Date: Fri, 11 Apr 2008 13:29:25 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>>> Indeed except if base-variable already exist, we can't do that.
> [...]
>> define-obsolete-variable-alias must be placed _before_ an associated
>> defcustom.

> Actually, thinking about it more, I don't see why it can't be done if
> base-variable already exists?

You can call defvaralias after the base_var has been set.
That's perfectly fine.  But if both base_var and new_alias are set when
you call defvaralias, then defvaralias can't know which of the two
values to use.


        Stefan




reply via email to

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