emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] From latest maint/master, no need to (require 'org-install)


From: Eric Fraga
Subject: Re: [O] From latest maint/master, no need to (require 'org-install)
Date: Sun, 7 Oct 2012 12:28:19 +1030
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux)

Sebastien Vauban <address@hidden> writes:

> Hi Eric,
>
> Eric Fraga wrote:
>> (add-to-list 'load-path "~/git/org-mode")
>
> Why that one?

Ahh, that's a bit of historical garbage.  There was a point a while back
where org-install seemed to have lisp/org-xxx paths and the easiest fix
was to add the root to the list of paths.  The problem was fixed fairly
quickly but I forgot to remove my temporary fix.

>> What should I or could I remove from this?
>
> What I do is:
>
> #+begin_src emacs-lisp
>   (when (locate-library "org-install")
>     (require 'org-install))
> #+end_src

Actually, I now have

#+begin_src emacs-lisp
(add-to-list 'load-path "~/git/org-mode/lisp")
(add-to-list 'load-path "~/git/org-mode/contrib/lisp/")
(require 'org)
#+end_src

with a number of other =require= calls for specific ob- and org-e-
packages.  This seems to work just fine.

My question now is whether I should replace the =(require 'org)= by
=(require 'org-loaddefs)= which seems to be the way that Emacs is moving
for packages?

Thanks,
eric

-- 
: Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D
: in Emacs 24.2.50.1 and Org release_7.9.2-406-g2c78ca




reply via email to

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