summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2009-06-07 22:14:33 +0200
committerCarsten Dominik <carsten.dominik@gmail.com>2009-06-07 22:14:33 +0200
commitcccd7b275c5dcb8e1c48100a6eae8f42ec8545e2 (patch)
treefe7b11cecc3675b97c4e6208feb2482df3ce3267
parent5ccc098ebdacba5dc40c0b03d9b3612a7908091b (diff)
downloadorg-mode-cccd7b275c5dcb8e1c48100a6eae8f42ec8545e2.tar.gz
Fix order problem in org-macs.el
-rw-r--r--lisp/org-macs.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/org-macs.el b/lisp/org-macs.el
index 8bf7979..f698842 100644
--- a/lisp/org-macs.el
+++ b/lisp/org-macs.el
@@ -33,6 +33,10 @@
;;; Code:
+(eval-and-compile
+ (unless (fboundp 'declare-function)
+ (defmacro declare-function (fn file &optional arglist fileonly))))
+
(declare-function org-add-props "org-compat" (string plist &rest props))
(defmacro org-bound-and-true-p (var)
@@ -75,10 +79,6 @@
,@body)
(if pc-mode (partial-completion-mode 1)))))
-(eval-and-compile
- (unless (fboundp 'declare-function)
- (defmacro declare-function (fn file &optional arglist fileonly))))
-
(defmacro org-maybe-intangible (props)
"Add '(intangible t) to PROPS if Emacs version is earlier than Emacs 22.
In emacs 21, invisible text is not avoided by the command loop, so the