0

I have (toggle-debug-on-quit) in my init.el file due to find a issue that makes emacs hangs. But it also catches minibuffer-quit.

Would it be possible to ignore catched errors for Debugger entered--Lisp error: (minibuffer-quit)?

To generate minibuffer-quit error:

M-x
C-g

1 Answer 1

2

Try adding minibuffer-quit to debug-ignored-errors.

You can do this using:

(add-to-list 'debug-ignored-errors 'minibuffer-quit)
2
  • How can I add minibuffer-quit into debug-ignored-error? Is this the way: (setq debug-ignored-errors 'minibuffer-quit)?
    – alper
    Jan 19 at 20:47
  • 1
    @alper, I've updated the answer. Jan 20 at 5:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.