Skip to content

Instantly share code, notes, and snippets.

@hzno
Last active September 24, 2015 10:57
Show Gist options
  • Save hzno/737348 to your computer and use it in GitHub Desktop.
Save hzno/737348 to your computer and use it in GitHub Desktop.
emacs-starter-kit org-mode
;;; init.el --- Where all the magic begins
;;
;; Part of the Emacs Starter Kit
;;
;; This is the first thing to get loaded.
;;
(setq dotfiles-dir (file-name-directory (or load-file-name (buffer-file-name))))
(add-to-list 'load-path (expand-file-name
"lisp" (expand-file-name
"org" (expand-file-name
"src" dotfiles-dir))))
;; Load up Org Mode and Babel
(require 'org-install)
;; load up the main file
(org-babel-load-file (expand-file-name "starter-kit.org" dotfiles-dir))
;;; init.el ends here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment