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: Glenn Morris
Subject: Re: define-obsolete-variable-alias problem
Date: Thu, 10 Apr 2008 23:53:16 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Stefan Monnier wrote:

>> Isn't this really a problem with defvaralias?
>
> Yes.
>
>> Perhaps we could test there if new-alias is bound and if so assign the
>> value to base-variable.
>
> Indeed except if base-variable already exist, we can't do that.

OK, I think I've installed that.

However if it is to work for the case I posted,
define-obsolete-variable-alias must be placed _before_ an associated
defcustom. A quick glance in some random .el files shows that often it
is not. I know I usually write them the other way round. Time to move
a bunch of them?




reply via email to

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