Sabya
Sabya

Reputation: 11884

how to switch off debug messages in emacs

I face this often. Suppose I have killed a buffer. And then I go to the "Buffer List" and try to open that buffer.

Emacs throws the error in "Backtrace" debugger window. And then I have to close this. How can I configure Emacs so that the error msgs are not shown in a separate window but in the minibuffer itself?

I am running Emacs: 23.2.1 (i386-mingw-nt6.1.7601)

Upvotes: 2

Views: 1721

Answers (2)

Lindydancer
Lindydancer

Reputation: 26094

As @Trey pointed out, you probably have configured Emacs to enter the debugger when an error have occurred. However, if you like this feature in general but would like to disable it for specific features you could use the variable debug-ignored-errors. This is a list of symbols and/or regular expressions, an error that match an entry in the list does not cause Emacs to enter the debugger.

Upvotes: 2

Trey Jackson
Trey Jackson

Reputation: 74430

Perhaps do you have the variable debug-on-error set to t? Try

(setq debug-on-error nil)

Upvotes: 7

Related Questions