[Top][All Lists]

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

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

From: Bastien
Subject: [O] From latest maint/master, no need to (require 'org-install)
Date: Tue, 02 Oct 2012 15:15:24 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux)

Hi all,

there is no need to (require 'org-install) anymore from the maint
and master branches.

When using the Org distribution that comes with Emacs, Emacs will add
Org's autoloaded core functions to [emacs]/lisp/loaddefs.el and the rest
of the autoloaded functions to [emacs]/lisp/org/org-loaddefs.el.  This
is an improvement over the present situation, where *all* autoloaded
functions where added to Emacs' loaddefs.el -- too much.  This is not
yet in Emacs trunk but will be in Emacs 24.3.

When getting Org as a .tar.gz/.zip archive file, you'll have a file
org-loaddefs.el in the lisp/ directory -- this file is now loaded when
org.el is loaded.

When getting Org from ELPA (either "org" or "org-plus-contrib"),
org-loaddefs.el will also be in the load-path.

When getting Org from git, you *HAVE* to created org-loaddefs.el with
`make autoloads' (which is also run by a simple `make'), otherwise
some needed functions will not be autoloaded.

You can check whether org-loaddefs.el has been correctly been loaded
with M-x org-version RET.



reply via email to

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