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: Sharon Kimble
Subject: Re: [O] how to stop using org-mode from /usr/local/share/emacs/24.3.92/lisp/org/
Date: Thu, 31 Jul 2014 05:45:52 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux)

Nick Dokos <address@hidden> writes:

> 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.

Thanks for this Nick. I solved my problem by re-git-cloning the org-mode
repo, but this time I called it "org-mode" instead of the previous
"org-mode-master". And now M-x org-version shows -
╭────
│Org-mode version 8.2.7c (release_8.2.7c @ /home/boudiccas/git/org-mode/lisp/)
╰────
which is what I've been looking for all along :)

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 24.3.92.1

Attachment: signature.asc
Description: PGP signature


reply via email to

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