emacs-devel
[Top][All Lists]
Advanced

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

Re: add-hook and defvar


From: Stefan Monnier
Subject: Re: add-hook and defvar
Date: Tue, 24 Feb 2015 21:56:38 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> Is this something the byte compiler could warn about? At least normal hooks
> by convention end in "-hook", so a warning could be emitted every time such
> a variable is defined that doesn't have nil as default.

Yes, we could do that.  Patch welcome,


        Stefan



reply via email to

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