emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] how to stop using org-mode from /usr/local/share/emacs/24.3.92/l


From: Nick Dokos
Subject: Re: [O] how to stop using org-mode from /usr/local/share/emacs/24.3.92/lisp/org/
Date: Wed, 30 Jul 2014 23:37:43 -0400
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.3.50 (gnu/linux)

Sharon Kimble <address@hidden> writes:

> I've now got the maintenance branch, thanks for the pointers folks.
>
> This is what I've done -
>
> cd ~/git/org-mode-master
> git checkout maint
> git pull
> make autoloads
> make
> make doc
> sudo make install

That will install org in a place like
/usr/local/share/emacs/site-lisp/org (the exact location depends on
makefile settings - check your local.mk for lispdir or do it again
and see where the finall install command installs everything.


> cd ~
>
> I know from watching it when its building that I have version
> 8.2.7c. But when I've reloaded org using the menu items = org ->
> refresh/reload -> reload org after update, and then do M-x org-version
> it shows
> ╭────
> │Org-mode version 8.2.6 (release_8.2.6-1 @ 
> /usr/local/share/emacs/24.3.92/lisp/org/)
> ╰────
>  I have this line in my 'init.el'
>  --8<---------------cut here---------------start------------->8---
>   (setq load-path (cons "/home/boudiccas/git/org-mode-master" load-path))
> --8<---------------cut here---------------end--------------->8---
>
> So how do I get it to only use the one from my init.el please? I've
> never run into this problem before, and although I do remember hearing
> about it, I can't recall the solution and there is no mention of it in
> my "emacsinstructions.org" which is my repository for how to do various
> things.
>

Add the install directory to your load-path instead:

   (add-to-list 'load-path "/usr/local/share/emacs/site-lisp/org")

or whatever the correct value is in your case.

-- 
Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]