emacs-devel
[Top][All Lists]
Advanced

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

Re: Compilation warnings in mouse.el


From: Eli Zaretskii
Subject: Re: Compilation warnings in mouse.el
Date: Wed, 13 Jul 2016 19:13:47 +0300

> From: Stefan Monnier <address@hidden>
> Date: Wed, 13 Jul 2016 11:42:45 -0400
> 
> > If they must first check if there's a defgroup in the same file, and
> 
> The byte-compiler will complain if a defcustom doesn't have a :group and
> there's no preceding defgroup (as was the case in the situation that
> started this discussion).  So I don't think it's too much of a problem.

It's evidently a problem.  Otherwise, I wouldn't have had to ask
Stephen to take care of those warnings.

> > then if there's more than one defgroup, make sure the defcustom is
> > after the right one, then this is an error-prone system which cannot
> > be trusted.
> 
> Then let's restrict the current system so it also complains if there's
> no :group yet there are more than one preceding defgroup.

I think this cure will be worse than the decease.



reply via email to

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