diff --git a/global.org b/global.org index 01bff86..ecf9afe 100644 --- a/global.org +++ b/global.org @@ -26,6 +26,17 @@ See also [http://orgmode.org/manual/Extracting-source-code.html#Extracting-source-code] +* About org-mode + I am insisting to use my own branch of org-mode; in order to have + this work, we need to run the following code before + anything else. Add it to ~early-init.el~. This file is tangled + every time emacs starts, so that's fine. + + #+begin_src emacs-lisp :tangle "early-init.el" + ; this is required for using my branch of org-mode + (add-to-list 'load-path "~/clones/org-mode/lisp") + (require 'org-loaddefs) + #+end_src * Introduction ** ~setq~ vs ~setq-default~ diff --git a/init.el b/init.el index ff5e824..3e56d4b 100644 --- a/init.el +++ b/init.el @@ -1,13 +1,7 @@ -; this is required for using my branch of org-mode -(add-to-list 'load-path "~/clones/org-mode/lisp") -(require 'org-loaddefs) - - ;; Added by Package.el. This must come before configurations of ;; installed packages. Don't delete this line. If you don't want it, ;; just comment it out by adding a semicolon to the start of the line. ;; You may delete these explanatory comments. (package-initialize) - ; (org-babel-load-file "~/.emacs.d/global.org")