fix org-check-version undefined error when compiled
commit96d4c5ef0ae4fc7d1db90bf714c2ec03eefa90dc
authorEric Schulte <eric.schulte@gmx.com>
Wed, 1 Aug 2012 15:53:12 +0000 (1 09:53 -0600)
committerEric Schulte <eric.schulte@gmx.com>
Wed, 1 Aug 2012 15:53:19 +0000 (1 09:53 -0600)
tree144d0164a6b2dc704a30c36defa20f6fa7454589
parent6cf637fd1d32ac98017c368cc8ac1e645b9a7c5e
fix org-check-version undefined error when compiled

Prior to this change compiling org-mode and then running Org-mode
functions from a batch Emacs would throw the following error.

  Symbol's function definition is void: org-check-version

Moving the require of org-compat before the use of this function in
org.el fixes this problem.

* lisp/org.el (org-compat): Require org-compat before we first use one
  of its functions (a macro actually).
lisp/org.el