make pretty lambda mode local to elisp and python