emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scratch/command 064f146 1/2: Change command to interactive ... modes


From: Stefan Monnier
Subject: Re: scratch/command 064f146 1/2: Change command to interactive ... modes
Date: Fri, 19 Feb 2021 09:29:29 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> However, `C-u C-M-x' gives us:
>
> (symbol-function 'foo-command1)
> => (lambda nil (edebug-enter 'foo-command1 (list) #'(lambda nil
> (edebug-after (edebug-before 0) 1 (interactive nil emacs-lisp-mode))
> (edebug-after (edebug-before 2) 3 (+ 1 2)))))

Yes, I did mention that earlier in the thread.

You'll need to adjust the Edebug specs of `defun` (there are probably
other ways, of course) if you want to fix that.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]