Subject: Re: bug#10577: Subject: 23.4; edebug-defun fails with `completion-table-dynamic'

From: Glenn Morris <[email-masked]>
Date: Sun, 22 Jan 2012 16:21:02 -0500

Stefan Monnier wrote:

>> with Emacs -Q,
>> doing M-x edebug-defun
>> over `completion-table-dynamic' from minibuffer.el results in
>> edebug-syntax-error: Invalid read syntax: "Expected lambda expression"
>
> I can't reproduce this on the trunk.

Try edebugging emacs 23's completion-table-dynamic in the trunk.
You need to explicitly load cl first to get it to work.
I've often wondered if edebug can figure this out for itself somehow
(perhaps look for eval-when-compile's in the defining file?).