Fix order problem in org-macs.el

This commit is contained in:
Carsten Dominik 2009-06-07 22:14:33 +02:00
parent 5ccc098ebd
commit cccd7b275c
1 changed files with 4 additions and 4 deletions

View File

@ -33,6 +33,10 @@
;;; Code: ;;; 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)) (declare-function org-add-props "org-compat" (string plist &rest props))
(defmacro org-bound-and-true-p (var) (defmacro org-bound-and-true-p (var)
@ -75,10 +79,6 @@
,@body) ,@body)
(if pc-mode (partial-completion-mode 1))))) (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) (defmacro org-maybe-intangible (props)
"Add '(intangible t) to PROPS if Emacs version is earlier than Emacs 22. "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 In emacs 21, invisible text is not avoided by the command loop, so the