emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master 5e63ea1 5/6: Suppress warning about out-of-tree


From: Lars Ingebrigtsen
Subject: Re: [Emacs-diffs] master 5e63ea1 5/6: Suppress warning about out-of-tree Java class in cedet
Date: Mon, 17 Jun 2019 14:25:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> Hi Lars,
>
>> +  ;; The `classpath' slot only exists in the Java parts of cedet, and
>> +  ;; those have not been merged into Emacs.  Suppress the warning
>> +  ;; about the unknown slot by using `intern'.
>> +  (slot-value (ede-config-get-configuration proj)
>> +              (intern "classpath" obarray)))
>
> There should be a better way to silence this kind of warning, no?

Indeed.  I wondered about adding a `slot' thing to
`with-suppressed-warnings', but (as discussed elsewhere in that big
thread), that bit isn't in effect when the CLOS machinery is doing its
thing...

If that can be fixed, I can rewrite these instances in cedet.

-- 
(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]