aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/site-lisp/load-config.el
blob: 02f91136543d0c2ada178ec61debed754d750cea (plain)
1
2
3
4
5
6
(defun load-config (filename &optional dirname)
  (unless dirname (setq dirname "~/.dotfiles/.emacs.d/"))
  (load (concat dirname (symbol-name filename)) 'noerror))

(defun load-mode (modename)
  (load-config modename "~/.dotfiles/.emacs.d/modes/"))