From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: From latest maint/master, no need to (require 'org-install) Date: Fri, 05 Oct 2012 10:40:34 +0200 Message-ID: <80ipap2tx9.fsf@somewhere.org> References: <87boglvwur.fsf@bzg.ath.cx> <87sj9vj4a1.fsf@bzg.ath.cx> <87zk43419r.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Eric, Eric Fraga wrote: > Bastien writes: >> Bastien 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)) #+end_src That way, if it's still present (and maybe necessary[1]), it will be loaded. If not, it simply has no effect. Best regards, Seb [1] On old Emacs/Org versions, for people using my .emacs configuration file. -- Sebastien Vauban