I've been learning how to use modules using the cider-mode
source code but I've run into a very basic issue.
The contents of my files are
main.el
(require 'main-module) (main-module-message) (provide 'main)
main-module.el
(defun main-module-message () (message-box "this is defined in the module") (provide 'module)
When I do (load "~/Projects/modules-test/main.el")
It can't sense themain-module.el
file kept inside the same directory.
Could you please point to the relevant documentation, I can't seem to find anything useful on require
and provide
apart from a couple paragraphs.
Thanks