[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16810: 24.3.50; `with-eval-after-load'
From: |
Juanma Barranquero |
Subject: |
bug#16810: 24.3.50; `with-eval-after-load' |
Date: |
Wed, 19 Feb 2014 20:07:36 +0100 |
Some brief comments.
> The main difference I can see, based on the available doc, is that
> the macro evaluates the BODY "*each time* LIBRARY is loaded". Is
> that considered "better behaved"? Why?
Docstring for eval-after-load says:
If a matching file is loaded again, form will be evaluated again.
so how is that different?
> Other, obvious differences, which I can hardly imagine to constitute
> "better" behavior and so call for introducing this macro, let alone
> replacing `eval-after-load' with it, are (a) that it is a macro, so
> you do not need to quote its arg
To me, that's a big difference which makes the macro much "better". YMMV.
> 2. The doc string is not helpful enough.
Agreed.