[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to silence "Unknown slot" compiler warnings?
From: |
Eric Abrahamsen |
Subject: |
Re: How to silence "Unknown slot" compiler warnings? |
Date: |
Tue, 16 Feb 2016 13:38:02 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Vitalie Spinu <address@hidden> writes:
>>> On Mon, Feb 15 2016 15:13, Stephen Leake wrote:
>
>> Please post the code (or at least some of it), and the warnings.
>
> It's here:
>
> https://github.com/vspinu/polymode/blob/master/polymode-classes.el
>
> I am always using :initarg with keywords because I want to emphasise slot
> names
> in main code:
>
> (defclass pm-polymode (pm-root)
> ((hostmode
> :initarg :hostmode
>
>
> Vitalie
You're using oref/oset with arguments as :tags, but the slot name should
just be a non-quoted, non-tag macro argument.
E