From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: Using Eric Schulte's starter kit with org mode from source Date: Mon, 22 Apr 2013 16:11:09 +0200 Message-ID: References: <87y5ca67ra.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUHSa-00036S-0N for emacs-orgmode@gnu.org; Mon, 22 Apr 2013 10:11:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UUHSV-0004xc-Dn for emacs-orgmode@gnu.org; Mon, 22 Apr 2013 10:11:11 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:17746) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUHSV-0004vv-5D for emacs-orgmode@gnu.org; Mon, 22 Apr 2013 10:11:07 -0400 In-reply-to: <87y5ca67ra.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: emacs-orgmode 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