|
From: | Alan Schmitt |
Subject: | Re: [O] Using Eric Schulte's starter kit with org mode from source |
Date: | Mon, 22 Apr 2013 16:11:09 +0200 |
User-agent: | mu4e 0.9.9.5; emacs 24.3.1 |
Eric Schulte writes: > Adding a line to init.el will allow you to specify the Org-mode instill > to use. Something like the following should work. > > (add-hook 'after-init-hook > `(lambda () > ;; remember this directory > (setq starter-kit-dir > ,(file-name-directory (or load-file-name (buffer-file-name)))) > ;; load up the starter kit > (add-to-list 'load-path "~/path/to/org-mode/lisp/") > (require 'org) > (org-babel-load-file (expand-file-name "starter-kit.org" > starter-kit-dir)))) Thanks a lot, it works great! Alan
[Prev in Thread] | Current Thread | [Next in Thread] |