Hi Richard,

Happy this is sorted out.  A similar startup example is available in the
init.el file in my copy of the Emacs Starter Kit [1], which also tangles
all configuration from org files.

Cheers -- Eric

Richard Riley <rile...@gmail.com> writes:

> Firstly  : Carsten and Eric I emailed you privately as I had no news
> access - pls ignore. Problem solved.
>
> With the latest git pull for org-mode I couldn't start my emacs because
> my init files are org files untangled using babel. Here is an updated
> init.el which which uses the new names and pulls in  ob-tangle.
>
>
> (setq dotfiles-dir (file-name-directory (or (buffer-file-name) 
> load-file-name)))
>
> (let* ((org-dir (expand-file-name
>                  "lisp" (expand-file-name
>                          "org-mode" dotfiles-dir)))
>        (org-contrib-dir (expand-file-name
>                          "lisp" (expand-file-name
>                                "contrib" (expand-file-name
>                                             ".." org-dir))))
>        (load-path (append (list org-dir org-contrib-dir (concat org-dir 
> "/babel"))
>                           (or load-path nil))))
>   (message "%s" org-dir)
>   ;; load up Org-mode and Org-babel
>   (require 'org-install)
>   (require 'ob)
>   (require 'ob-tangle)
> )

Footnotes: 
[1]  http://github.com/eschulte/emacs-starter-kit/blob/master/init.el


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to