|
From: | Stefan Monnier |
Subject: | Re: A combination of defmacro, functionp, and quoted lambdas yields different results on consecutive evaluations |
Date: | Tue, 27 Feb 2018 16:35:12 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> (with-eval-after-load 'flycheck > (flycheck-define-checker > …)) I was about to suggest that you might ask the Flycheck maintainer to provide a function that can be used instead of the macro flycheck-define-checker, but I see that it's pretty much already the case: just use flycheck-define-command-checker. Another option, is to compile that file and then you can do (eval-when-compile (require 'flycheck)) (with-eval-after-load 'flycheck (flycheck-define-checker …)) it also works if you don't byte-compile, except that the with-eval-after-load becomes ineffective. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |