emacs-devel
[Top][All Lists]
Advanced

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

Re: How to silence "Unknown slot" compiler warnings?


From: Vitalie Spinu
Subject: Re: How to silence "Unknown slot" compiler warnings?
Date: Tue, 16 Feb 2016 01:22:13 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

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





reply via email to

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