开发者

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 开发者_如何学Cto 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)


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

(setq debug-on-error nil)


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜