complete-computing-environment/run_hooks_after_init.org

899 B

Run Hooks After init

(provide 'cce/run-hooks)

This code runs at the end of the init file generated in my Index of CCE Functionality. Throughout the CCE, there's code which attaches functions to after-cce-hook ((deadgrep "after-cce-hook") to take a look), this makes sure they're run after everything else is initialized.

(add-hook 'after-cce-hook
          (lambda ()
            (message "The Complete Computing Environment has been loaded")))

(run-hooks #'after-cce-hook)