(require 'cl)

(defun my-fact (n)
  (labels ((fact-iter (n r)
             (if (zerop n)
                 r
               (fact-iter (1- n) (* n r)))))
    (fact-iter n 1)))

Now edebug `my-fact' (M-C-x) and call it with any argument. Edebug
will step through the function; but as soon as it would have to step
through `fact-iters' function body, an error is raised:

Wrong type argument: symbolp, (lambda (&rest --cl-rest--) (apply (lambda 
(G70234 n r) (edebug-enter [...]

I haven't checked whether this happens with other macros from cl.el,
too.


    Oliver
-- 
Oliver Scholz               18 Ventôse an 215 de la Révolution
Ostendstr. 61               Liberté, Egalité, Fraternité!
60314 Frankfurt a. M.       


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to