emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: 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	[thread overview]
Message-ID: <87zjfq8ago.fsf@gmail.com> (raw)
In-Reply-To: 87fvhi37qt.fsf@skimble.plus.com

Sharon Kimble <boudiccas@skimble.plus.com> 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	other threads:[~2014-07-31  3:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-30 20:35 how to stop using org-mode from /usr/local/share/emacs/24.3.92/lisp/org/ Sharon Kimble
2014-07-31  3:37 ` Nick Dokos [this message]
2014-07-31  4:45   ` Sharon Kimble

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zjfq8ago.fsf@gmail.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).