I am configuring a CI/CD pipeline to process org-mode files into documentation, source code, and other file formats.
I would like to add a call to org-lint
to do basic syntax checking against org files as part pipeline.
Unfortunately I haven't be able get the command line to work.
I've tried the following commands:
emacs --batch -l org -f org-lint org-lint-notes.org
emacs --batch -l org --eval '(org-lint)' org-lint-notes.org
But both return the error below:
Symbol’s function definition is void: org-lint
I'm not sure what I'm doing wrong.
Thanks for your help!
This code was tested using:
emacs version: GNU Emacs 25.2.1 (x86_64-unknown-cygwin, GTK+ Version 3.22.10)
org-mode version: 9.1.2