.emacs.d

my emacs configuration directory
Log | Files | Refs | README

init.el (657B)


      1 ;; -*- lexical-binding: t; -*-
      2 
      3 (defun load-module (name)
      4   (let* ((filename (concat name ".el"))
      5          (path (file-name-concat user-emacs-directory "modules" filename))
      6          (fullpath (expand-file-name path)))
      7     (load-file fullpath)))
      8 
      9 (load-module "packages")
     10 (load-module "tweaks")
     11 
     12 (server-start)
     13 
     14 (when (eq system-type 'gnu/linux)
     15   (load-module "system"))
     16 
     17 (load-module "themeing")
     18 (load-module "vompec")
     19 (load-module "introspection")
     20 (load-module "ide")
     21 (load-module "org")
     22 
     23 ;; dumb hack to avoid figuring out how dependencies work
     24 (use-package ini
     25   :init (load-module "firefox"))
     26 
     27 (message "huh")
     28 (load-module "pdf")
     29 (load-module "music")