[-- Attachment #1.1: Type: text/plain, Size: 359 bytes --] I would like to run a local copy of org pulled from the latest git instead of the sitewide version installed with emacs. How can I specify that emacs should use the copy in my ~/elisp/org directory instead of the sitewide version? Probably a simple question, but deleting the sitewide org directory doesn't seem like the right solution. :P -- Kyle Sexton [-- Attachment #1.2: Type: text/html, Size: 442 bytes --] [-- Attachment #2: Type: text/plain, Size: 204 bytes --] _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Kyle Sexton <ks@mocker.org> writes: > I would like to run a local copy of org pulled from the latest git instead > of the sitewide version installed with emacs. How can I specify that emacs > should use the copy in my ~/elisp/org directory instead of the sitewide > version? > > Probably a simple question, but deleting the sitewide org directory doesn't > seem like the right solution. :P Hm - depends on how you install emacs. I follow the CVS emacs as well and remove the /usr/local/share/emacs/23.X.Y/lisp/org/ directory after each re-install. But: http://www.emacswiki.org/emacs/LoadPath states: The variable load-path lists all the directories where Emacs should look for elisp files. They are searched in order. The first file found is used, therefore the order of the directories might be relevant. This should use the GIT version (assumed it's in ~/.emacs.d/lisp/org): (add-to-list 'load-path "~/.emacs.d/lisp/org/") Sebastian
Kyle Sexton <ks@mocker.org> writes: > I would like to run a local copy of org pulled from the latest git instead > of the sitewide version installed with emacs. How can I specify that emacs > should use the copy in my ~/elisp/org directory instead of the sitewide > version? > > Probably a simple question, but deleting the sitewide org directory doesn't > seem like the right solution. :P Important: http://www.emacswiki.org/emacs/LoadPath also says this here: Preference is given to compiled files when both a compiled file and a source file are found. Therefore, make sure to recompile files after making changes to them – or don’t compile the files at all. Sebastian