shyamupa
shyamupa

Reputation: 1618

Emacs does not see new installation of Org-Mode

I had installed org-mode version 8.2.1 from emacs list-packages. I downloaded the latest version 8.2.4 and placed it in .emacs.d and added the following to my .emacs,

(add-to-list 'load-path "~/.emacs.d/org-8.2.4/lisp")

Emacs still reports org-mode version to be 8.2.1

Upvotes: 3

Views: 1948

Answers (2)

Anusha
Anusha

Reputation: 1726

Add the following to your init.el file.

(require 'package)
(add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/") t)

From the org compact guide here.

Upvotes: -1

Alex Vorobiev
Alex Vorobiev

Reputation: 4359

Try removing old installation(s) of org-mode from the load-path first:

  (require 'cl)

  ;; Org-mode that was shipped with Emacs
  (setq load-path (remove-if (lambda (x) (string-match-p "org$" x)) load-path))
  ;; ELPA 
  (setq load-path (remove-if (lambda (x) (string-match-p "org-20" x)) load-path))

  (setq custom-org-path "~/.emacs.d/org-8.2.4/lisp")   
  (add-to-list 'load-path custom-org-path)

Also make sure to do it as early as possible in your init.el - especially if you use org-mode-based system for your emacs configuration files.

Upvotes: 2

Related Questions