org-element: Comply to Emacs 23 signature requirements

* lisp/org-element.el (org-element--cache-sync): Call
  `avl-tree-delete' with 2 arguments only as a 4-arguments call is
  only compatible with Emacs 24.1 and later.
This commit is contained in:
Nicolas Goaziou 2014-01-20 19:03:50 +01:00
parent 363fd7e8f3
commit 5f38f7b7b0
1 changed files with 2 additions and 1 deletions

View File

@ -5537,7 +5537,8 @@ removed from the cache."
(t
(setq end
(max (1- (org-element-property :end data)) end))
(avl-tree-delete org-element--cache data nil t))))))
(avl-tree-delete org-element--cache data)
t)))))
;; Phase 2.
;;
;; Shift all elements starting after END by OFFSET (for an