Skip to content

Instantly share code, notes, and snippets.

@gregnewman
Created April 28, 2009 23:06
Show Gist options
  • Save gregnewman/103466 to your computer and use it in GitHub Desktop.
Save gregnewman/103466 to your computer and use it in GitHub Desktop.
(load-library "iso-transl")
(add-to-list 'load-path "~/.emacs.d/vendor")
(progn (cd "~/.emacs.d/vendor")
(normal-top-level-add-subdirs-to-load-path))
(setq load-path (cons "~/.emacs.d/vendor/org-mode/lisp" load-path))
(setq load-path (cons "~/.emacs.d/vendor/org-mode/contrib/lisp" load-path))
(defconst emacs-config-dir "~/.emacs.d/configs/" "")
(setq load-path (cons "~/.emacs.d" load-path))
(defun load-cfg-files (filelist)
(dolist (file filelist)
(load (expand-file-name
(concat emacs-config-dir file)))
(message "Loaded config file: %s" file)
))
(load-cfg-files '("anything"
"browse_kill_ring"
"custom"
"dired"
"git"
"highlight_line"
"ido"
"main"
"org"
"python"
"ruby"
"slime"
"smex"
"theme"
"yasnippet"))
(setq custom-file "~/.emacs.d/configs/custom.el")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment