emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: describe-key-briefly bug


From: Lute Kamstra
Subject: Re: describe-key-briefly bug
Date: Mon, 11 Apr 2005 18:01:54 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Katsumi Yamaoka <address@hidden> writes:

>>>>>> In <address@hidden> 
>>>>>>  Lute Kamstra <address@hidden> wrote:
>
>> Does this patch fix it?
>
> Thanks.  It does the trick.
>
>> !    (if (and (> (length untranslated) 0)
>> !             (stringp (aref untranslated (1- (length untranslated)))))
>
> BTW, is there a reason it is necessary to check the length
> instead of checking whether it is non-nil?
>
>       (if (and untranslated
>                (stringp (aref untranslated (1- (length untranslated)))))

I checked the length just in case untranslated is an empty vector.
I'm not sure if that's possible, though.

Lute.




reply via email to

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