     "user")
   "A list of hubs to load at init.")
 
-;; populated by kotct/hub
+;; This variable is `nil' to begin with but gets populated by
+;; `kotct/hub' later on.
 (defvar kotct/files-to-compile
   nil
   "A list of files that ought to be byte-compiled.")
 
-;; used to define hubs in hub files
+;; Used by hubs to register themselves
 (defmacro kotct/hub (hubname features &optional autoloads)
   "Loads the hub denoted by HUBNAME.
 



;;; Customization File
(setf custom-file "~/.emacs.d/custom.el")


            (mapc #'require ,feature-var))))

;; Add hub directories to the load paths.
(let ((default-directory "~/.emacs.d/lisp/"))
  (add-to-list 'load-path default-directory)
  (normal-top-level-add-to-load-path kotct/hub-list))

;; If byte-compiled files are older, load newer version.
(let ((load-prefer-newer t))
  ;; require all hubs
  (mapc (lambda (hub)
          (require (intern (concat hub "-hub"))))
        kotct/hub-list))

;; Load the loaddefs.
(require 'kotct-loaddefs)


