patch to use native avl-tree code in emacs 23
Brought to you by:
paullandes
Based on the discussion in http://www.mail-archive.com/jdee-devel@lists.sourceforge.net/msg00127.html
this is a merge of two patches:
https://svn.nixos.org/repos/nix/nixpkgs/trunk/pkgs/applications/editors/emacs-modes/jdee/elib-avltree.patch
http://www.mail-archive.com/jdee-devel@lists.sourceforge.net/msg00095.html
The first one changed the code to use only the native avl-tree
functions, the second one used a compatibility shim to make newer
versions of emacs think they were running with elib. I turned that
around so that older versions of emacs think they're using the newer
code, which will make it easier to remove the shim when we no longer
need backward compatibility.
use elib in older emacs, native avl-tree in newer
Applied, thanks!