[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emms-help] Re: define-obsolete-variable-alias error on emacs21
From: |
Daniel Brockman |
Subject: |
[emms-help] Re: define-obsolete-variable-alias error on emacs21 |
Date: |
Fri, 17 Jun 2005 00:26:00 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Yoni Rabkin Katzenell <address@hidden> writes:
> Daniel Brockman <address@hidden> writes:
>
>> Yoni Rabkin <address@hidden> writes:
>>
>>> I installed emacs21 on Debian with CVS emms.
>>>
>>> I got the following error:
>>>
>>> Symbol's function definition is void: define-obsolete-variable-alias
>>
>> Oops, that's my fault, sorry. I just checked in a fix.
>
> Now I get (on loading Emacs21):
>
> Debugger entered--Lisp error: (void-function defvaralias)
[...]
> I'm using GNU Emacs 21.4.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll
> bars) which I have just compiled. Maybe I'm doing something wrong
> here. Can you corroborate this on your machine?
Ack, I'm sorry again. I didn't even test my fix on Emacs 21.
(That's how stupid I am.)
Anyway, it should really be fixed now. I just committed this:
--- emms.el 16 Jun 2005 18:10:39 +0200 1.49
+++ emms.el 17 Jun 2005 00:21:02 +0200
@@ -46,1 +46,2 @@
- (defvaralias ,obsolete-name ,current-name ,docstring)
+ (when (fboundp 'defvaralias)
+ (defvaralias ,obsolete-name ,current-name ,docstring))
--
Daniel Brockman <address@hidden>
``so really, we all have to ask ourselves: am i waiting for
rms to do this?'' --- Thien-Thi Nguyen (on emacs-devel)