I deleted "/etc/emacs/site-start.d/50org-mode.el".
Everything works as intended now.

Special thanks to Nick and Scot. :)

On Wed, Apr 29, 2009 at 10:36, Scot Becker <scot.becker@gmail.com> wrote:
On a debian-based system, and perhaps others, /etc/emacs/site-start.d
has a few files that set variables and define functions for use with
the Debian(Ubuntu, etc) system policies.  There might be nothing in
there that your setup depends on, but I wouldn't want to risk it. you
can glance through the files in there and see what kinds of things
they touch.

However, if you want to try without it, you can rename it.  If that
causes errors, you can rename it, then create an empty directory in
the same place /etc/emacs/site-start.d.

If that's where the problem is, the principal of dissection should
work there as well, just move the files out of the directory one at a
time (tryiing your export with emacs -Q each time, to see where the
offending file is.

Scot


On Tue, Apr 28, 2009 at 10:02 PM, Eraldo Helal <office@eraldo.at> wrote:
> Is it save to just delte that directory: /etc/emacs/site-start.d
> Because I guess the error lies somewhere in there.
> Or is this directory important for something?
>
> On Tue, Apr 28, 2009 at 22:46, Eraldo Helal <office@eraldo.at> wrote:
>>
>> I discovered that there is a directory: /etc/emacs/site-start.d
>> http://paste.org/6848
>>
>> Does this also get loaded by default and ignored with --no-site-file ? //
>> that would make some sense again (to me)
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>