org-element: Preserve Emacs 23 compatibility
commit34edfd846f63e5e3ecbb0f9f95cdb5560b1c7454
authorNicolas Goaziou <n.goaziou@gmail.com>
Tue, 21 Jan 2014 17:14:37 +0000 (21 18:14 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Tue, 21 Jan 2014 17:17:33 +0000 (21 18:17 +0100)
tree34b8abf9c93e897f27fb3ec3e41d139cbe83b5ec
parent1a9a6666dcb6d34bcbdff45445c827ed99dbf0b8
org-element: Preserve Emacs 23 compatibility

* lisp/org-element.el (org-element--cache-mapc): New function.
(org-element--cache-sync): Use new function.

`avl-tree-mapc' exists in Emacs 24's "avl-tree" but not in Emacs
23's. The new function implements it.
lisp/org-element.el