Make uses the first target defined if one is not specified on the
command line. This makes the `compile' target the default one, which
seems more sensible than the `update'.
Signed-off-by: Justin Abrahms <justin@abrah.ms>
string-replace is new of emacs 28, while replace-regexp-in-string is
quite old. This avoids the backport, and should be a tad faster since
it don't have to waste cycle to regexp-quote "\n".
Tested on emacs 27.2
Signed-off-by: Justin Abrahms <justin@abrah.ms>
This makes possible to use a different emacs executable to run the
tests.
$ make
# use system' emacs
...
$ make EMACS=/path/to/emacs
# use the provided emacs executable
...
Signed-off-by: Justin Abrahms <justin@abrah.ms>
Drop the checkdoc-batch library in favour of a simpler approach:
run checkdoc on all *.el files in the repo, bailing out on the first
encountered error.
While here, don't call checkdoc on eval.
Signed-off-by: Justin Abrahms <justin@abrah.ms>
ox-gemini inherits the behavior of ox-ascii of folding the
paragraphs. It's wrong because in gemini paragraphs are a single
long line. This is an attempt at fixing it.
Signed-off-by: Justin Abrahms <justin@abrah.ms>