emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Bug: need to eval-when-compile org-compat [8. 0.5 (8.0.5-elpaplu


From: Achim Gratz
Subject: Re: [O] Bug: need to eval-when-compile org-compat [8. 0.5 (8.0.5-elpaplus <at> /u/kimr/elisp/em acs-24/org-plus-contrib-20130704/)]
Date: Mon, 8 Jul 2013 05:11:45 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Richard Kim <emacs18 <at> gmail.com> writes:
> 
> Line 83 of org.el nees to be changed from
> 
>   (require 'org-compat)
> 
> to
> 
>   (eval-when-compile (require 'org-compat))

No, absolutely not: require does an implicit eval-and-compile.

> in order to prevent (invalid-function org-with-silent-modifications)
> error when an org file is loaded and `C-x C-e h h' is hit to export to
> a file.

This is a different problem, namely package manager getting into the game
after parts of the Org that ship with Emacs24 have already been loaded. 
This has been discussed before as well as how to workaround it.  In a
nutshell, you need to install Orgmode in an entirely fresh session.  When
you still hit this problem, then restart Emacs and (in the same session)
remove and then re-install Org.


Regards,
Achim.




reply via email to

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