I noticed a strange problem.
My emacs configuration uses orgmode from git, and loads it in this way:

(defun make-conf-path (path)
  (expand-file-name (concat base path)))

(add-to-list 'load-path (make-conf-path "org-mode/lisp"))
(add-to-list 'load-path (make-conf-path "org-mode/contrib/babel/lisp"))
(add-to-list 'load-path (make-conf-path "org-mode/contrib/babel/lisp/langs"))

;; this variable must be set BEFORE org-mode is loaded or it will have no effect
(setq org-replace-disputed-keys t)

(require 'org)

On an ubuntu 10.10 machine (with emacs 23.1) I wanted to use org-beamer,
and even if locate-library told me that I was using the right orgmode
(not the one shipped in) the variable org-export-latex-classes didn't
contain the entry "beamer", and then I could not export my presentation.

I fixed it using instead of require->load-file, but what I don't
understand is why it was using the other version, when locate-library
told me something else.

Any idea?


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to