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

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

bug#53988: 28.0.91; abbrev-table-p throws error: Bad data in guts of oba


From: Lars Ingebrigtsen
Subject: bug#53988: 28.0.91; abbrev-table-p throws error: Bad data in guts of obarray
Date: Mon, 14 Feb 2022 12:01:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> Evaluate `(abbrev-table-p translation-table-vector)'. The function will
>> throw `(error "Bad data in guts of obarray")'.  I expect
>> the predicate to not throw an error.
>
> Agreed.  The better way to do that would be to introduce a proper
> `obarray` type instead of abusing arrays for that.

Indeed.  But I fixed this in the worse way by signalling
wrong-type-argument and then ignoring that in abbrev-table-p in Emacs
29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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