From: Michael Heerdegen <michael_heerdegen@web.de>
To: HaiJun Zhang <netjune@outlook.com>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>,
Zhang Haijun <ccsmile2008@outlook.com>
Subject: Re: How to stop all edebug?
Date: Thu, 24 Oct 2019 13:05:08 +0200 [thread overview]
Message-ID: <87sgnis8t7.fsf@web.de> (raw)
In-Reply-To: <PS1PR03MB3606CE90EE56E9B8BD56F131B76A0@PS1PR03MB3606.apcprd03.prod.outlook.com> (HaiJun Zhang's message of "Thu, 24 Oct 2019 04:10:07 +0000")
HaiJun Zhang <netjune@outlook.com> writes:
> 在 2019年10月23日 +0800 PM2:47,Michael Heerdegen
> <michael_heerdegen@web.de>,写道:
> If you don't use the master branch, this is the code that does
> what you want:
>
> (dolist (function (edebug--edebug-on-entry-functions))
> (put function 'edebug-on-entry nil))
>
> I eval the form. Emacs(26.3 on macOS) shows error like this:
Correct - my mistake. The missing function had been added in the same
commit some days ago. Here it is the complete code:
#+begin_src emacs-lisp
(defun edebug--edebug-on-entry-functions ()
(let ((functions nil))
(mapatoms
(lambda (symbol)
(when (and (fboundp symbol)
(get symbol 'edebug-on-entry))
(push symbol functions)))
obarray)
functions))
(dolist (function (edebug--edebug-on-entry-functions))
(put function 'edebug-on-entry nil))
#+end_src
That should work now.
Michael.
next prev parent reply other threads:[~2019-10-24 11:05 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-23 4:56 How to stop all edebug? Zhang Haijun
2019-10-23 6:46 ` Michael Heerdegen
[not found] ` <mailman.1523.1571813205.9715.help-gnu-emacs@gnu.org>
2019-10-23 7:31 ` Lars Magne Ingebrigtsen
2019-10-24 11:09 ` Michael Heerdegen
2019-10-24 4:10 ` HaiJun Zhang
2019-10-24 11:05 ` Michael Heerdegen [this message]
2019-10-24 12:45 ` HaiJun Zhang
2019-10-24 13:13 ` Michael Heerdegen
2019-10-24 14:10 ` HaiJun Zhang
[not found] ` <70a705e7-cebf-4ac4-b7af-0fc04b383de6@Spark>
2019-10-24 13:12 ` HaiJun Zhang
2019-10-23 12:43 ` Stefan Monnier
2019-10-24 4:12 ` HaiJun Zhang
2019-10-23 15:21 ` Eli Zaretskii
2019-10-24 4:16 ` HaiJun Zhang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sgnis8t7.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=ccsmile2008@outlook.com \
--cc=help-gnu-emacs@gnu.org \
--cc=netjune@outlook.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.