emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: autoloading stuff


From: andrea
Subject: [Orgmode] Re: autoloading stuff
Date: Sun, 27 Dec 2009 23:53:43 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (darwin)

"Thomas S. Dye" <address@hidden> writes:
> Hi Andrea,
> I'm not certain I understand your question, but it brings to mind the
> Getting Started section of
> http://orgmode.org/worg/org-contrib/babel/intro.php,
> which indicates that you can activate whatever subset of supported
> languages you wish.

Well the problems is that I would like to load all those possible modes
only the first time that I actually open an org-file that contains code
for that language.

--8<---------------cut here---------------start------------->8---
;;; Code:
(require 'org-babel)
(require 'tuareg)
--8<---------------cut here---------------end--------------->8---

For example I find that org-babel/ocaml it loads tuareg, even if I'm not
using it at all...

I would like in general to require the least things as possible, and use
*eval-after-load* and hooks for everything.
"Thomas S. Dye" <address@hidden> writes:





reply via email to

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