9 Commits
Author SHA1 Message Date
Omar Polo b69e7418fd make compile the default target
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>
2021-08-18 21:37:39 -07:00
Omar Polo c4299fb931 nitpicking
Signed-off-by: Justin Abrahms <justin@abrah.ms>
2021-08-18 21:37:35 -07:00
Omar Polo 087359e851 use replace-regexp-in-string instead of string-replace
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>
2021-08-18 21:37:31 -07:00
Omar Polo b6b6f595f2 fix checkdoc warning
Signed-off-by: Justin Abrahms <justin@abrah.ms>
2021-08-17 09:51:40 -07:00
Omar Polo 900c15ca0b use ${EMACS} instead of `emacs'
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>
2021-08-17 09:51:35 -07:00
Omar Polo d680aacf9d improve `make lint'
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>
2021-08-17 09:51:28 -07:00
Omar Polo 1e4cabf98a don't leave # when there isn't a title
and while there ensure that there's an empty line following the
document title.

Signed-off-by: Justin Abrahms <justin@abrah.ms>
2021-08-13 15:02:24 +00:00
Omar Polo 8bbc1c9f6d leave a blank line after the link blocks
Signed-off-by: Justin Abrahms <justin@abrah.ms>
2021-08-13 15:01:48 +00:00
Omar Polo 4572682a99 fix paragraph
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>
2021-08-13 15:01:27 +00:00