[Top][All Lists]

[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: Sebastien Vauban
Subject: Re: [O] From latest maint/master, no need to (require 'org-install)
Date: Fri, 05 Oct 2012 10:40:34 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1 (windows-nt)

Hi Eric,

Eric Fraga wrote:
> Bastien <address@hidden> writes:
>> Bastien <address@hidden> writes:
>>> there is no need to (require 'org-install) anymore from the maint and
>>> master branches.
>> ... and you should actually remove (require 'org-install) from your
>> configuration, since this file is not automatically created anymore.
> Okay but with what should I replace this, if anything?
> Specifically, I currently have (in my organically grown customisation file
> ;-):
> (add-to-list 'load-path "~/git/org-mode")

Why that one?

> (add-to-list 'load-path "~/git/org-mode/lisp")
> (add-to-list 'load-path "~/git/org-mode/contrib/lisp/")
> (require 'org-install)
> (require 'org-e-latex)
> (require 'org-e-odt)
> (require 'org-latex)
> (require 'org-mime)
> (require 'ob-jacaranda)
> (require 'ob-python)
> (require 'ob-R)
> (require 'ob-sh)
> (require 'org-crypt) (org-crypt-use-before-save-magic)
> (require 'org-inlinetask)             ;binding C-c C-x t
> (require 'org-protocol)
> (require 'org-wc) 
> ;; customisations follow
> 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))

That way, if it's still present (and maybe necessary[1]), it will be loaded.

If not, it simply has no effect.

Best regards,

[1] On old Emacs/Org versions, for people using my .emacs configuration file.

Sebastien Vauban

reply via email to

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