[Top][All Lists]

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

Re: Strange eval-after-load

From: Alan Mackenzie
Subject: Re: Strange eval-after-load
Date: Fri, 7 Jul 2006 12:46:28 +0100
User-agent: Mutt/1.5.9i

Hi, Richard!

On Fri, Jul 07, 2006 at 12:14:34AM -0400, Richard Stallman wrote:
>       eval-after-load is conceptually the same as add-hook.

> The point here is the difference between them.  If you've decided to
> treat that difference as unimportant, then of course you don't see
> why I prefer one to the other.

>       Why is
>     using e-a-l worse than using LaTeX-mode-hook,  for example?

> The code in tex-mode.el explicitly runs LaTeX-mode-hook,
> but it does not explicitly run the eval-after-load forms.

>     I cannot conceive of any (real) problems which might be caused by
>        (eval-after-load "edebug" '(def-edebug-spec c-point t))

> I agree this does not cause any practical problem.
> However, it is cleaner to use `declare'.

> Also, I will move def-edebug-spec into subr.el, so that there
> is no point in using eval-after-load here.

OK.  I'll change the CC Mode source files to call def-edebug-spec



reply via email to

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