0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-07-16 19:46:27 +00:00

Fix some compilation problem

* lisp/org-element.el (org-element-nested-p): Do not inline function.
* lisp/org.el: Do not autoload functions.
This commit is contained in:
Nicolas Goaziou 2013-02-10 14:47:57 +01:00
parent 02002a7651
commit 6b7101b910
2 changed files with 2 additions and 6 deletions

View file

@ -4789,7 +4789,7 @@ Providing it allows for quicker computation."
end cend)))))))
parent))))))
(defsubst org-element-nested-p (elem-A elem-B)
(defun org-element-nested-p (elem-A elem-B)
"Non-nil when elements ELEM-A and ELEM-B are nested."
(let ((beg-A (org-element-property :begin elem-A))
(beg-B (org-element-property :begin elem-B))

View file

@ -137,9 +137,6 @@ Stars are put in group 1 and the trimmed body in group 2.")
(declare-function org-table-maybe-eval-formula "org-table" ())
(declare-function org-table-maybe-recalculate-line "org-table" ())
(autoload 'org-element-at-point "org-element")
(autoload 'org-element-type "org-element")
(declare-function org-element--parse-objects "org-element"
(beg end acc restriction))
(declare-function org-element-at-point "org-element" (&optional keep-trail))
@ -160,8 +157,7 @@ Stars are put in group 1 and the trimmed body in group 2.")
(beg end acc restriction))
(declare-function org-element-parse-buffer "org-element"
(&optional granularity visible-only))
(declare-function org-element-interpret-data "org-element"
(data &optional parent))
(declare-function org-element-type "org-element" (element))
;; load languages based on value of `org-babel-load-languages'
(defvar org-babel-load-languages)