SidharthArya / modular-config.el

Organize your emacs config into small manageable modules
GNU General Public License v2.0
27 stars 3 forks source link

Documentation of module file #2

Closed canatella closed 4 years ago

canatella commented 4 years ago

Hello, interesting project, thank you for taking the time to publish it.

To my question: what should a module file look like ? Just a module-name.el file ? Does it need to (provide 'module-name) ? A small example in the readme could help there.

Thank you!

SidharthArya commented 4 years ago

Hi, Sorry about the late reply. Module file is just a simple file containing some elisp. So module-name.el file should suffice. There is no need to (provide 'module-name). There are no rules at all, as to how you write your module. The only constraint of having dependent modules can be satisfied with: (modules-load '(space separated list of modules)) Thank you for your suggestion. I really need to write a more elaborate documentation. I have added an example file. de2357e

canatella commented 4 years ago

Thank you, that is all I needed :) Feel free to close this issue.