emacs-devel
[Top][All Lists]
Advanced

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

Re: Delayed warnings


From: Juanma Barranquero
Subject: Re: Delayed warnings
Date: Sun, 8 May 2011 20:43:53 +0200

On Sun, May 8, 2011 at 19:58, Chong Yidong <address@hidden> wrote:

> I think it's cleaner to have a separate delayed-warnings-hook and
> delayed-warnings-function.  The former should be nil by default, and
> should be called prior to delayed-warnings-function.
> In general, it's good to avoid putting default values in hook variables.

I think that boat has sailed long ago. There are quite a few hooks
with default values. And having to split a hook into a hook *and* a
-function variable just to avoid the default doesn't seem too clean
IMHO.

    Juanma



reply via email to

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