Wrong attachment, sorry.



---------- Forwarded message ----------
From: Barry OReilly <gundaetiapo@gmail.com>
Date: Sun, Aug 19, 2012 at 10:34 PM
Subject: [PATCH] FUNCTIONP check for Qclosure
To: emacs-devel@gnu.org


>   (define-key key-translation-map
>               (kbd "C-e")
>               (lambda (prompt) (kbd "C-c")))

Though I don't understand why FUNCTIONP has a different implementation than DEFUN "functionp", I suspect having FUNCTIONP check for Qclosure is closer to the right thing, so I made a patch that does that.  I verified the change allows the quoted test case to work with lexical binding enabled.  Please consider accepting it.