[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs-26: `with-eval-after-load' docstring omission
From: |
Stefan Monnier |
Subject: |
Re: emacs-26: `with-eval-after-load' docstring omission |
Date: |
Fri, 13 Apr 2018 14:41:30 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> The concrete issue stems from users copying a form from flycheck.el intto
> their init file, without macro-expanding it. Of course, we can recommend
> that users copy the macro-expanded version (the defvar + the function call)
> — but that's not ideal, because not many of our users know how to do that
> (macroexpand a form). And macroexpanding all uses in flycheck.el isn't an
> option either.
Ah, a social engineering problem. Sorry, you're talking to the wrong guy.
> That would be nice. It would then be safe to do
>
> (with-eval-after-load
> (with-lazy-macro-expansion
> …))
>
> right?
That's right.
Stefan