From 5f38f7b7b03febdc2785cbcafec9c19061b92b9f Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 20 Jan 2014 19:03:50 +0100 Subject: [PATCH] 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. --- lisp/org-element.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/org-element.el b/lisp/org-element.el index fc835e515..fc204f308 100644 --- a/lisp/org-element.el +++ b/lisp/org-element.el @@ -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