ChainMap implementation in Emacs Lisp