I showed you my source code, pls respond
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
668 B

  1. ;; Modules
  2. ;; Breaking down the project into logical units or chapters to keep the code more maintainable and organized. This is also a fundamental requirement to achieve the goal of modularity. All of the modules in ~dotfiles/modules~ load after the host overrides. By default, all of the packages defined in ~dotfiles/modules-p~ load. Override this behaviour in a host configuration file.
  3. (defun dotfiles/load-modules (modules)
  4. "Load the `modules' in sequential order."
  5. (interactive)
  6. (dolist (m modules)
  7. (let ((mod-file (concat dotfiles/home "/modules/" (symbol-name m) ".org")))
  8. (when (file-exists-p mod-file)
  9. (org-babel-load-file mod-file)))))