请问~如何关闭 *Compile-Log* Buffer 自动弹出 ~

今天更新了 emacs-29 最新版,原配置没动。但启动后会弹出 Compile-Log buffer。
尝试用

(setq byte-compile-warnings nil)

设置无效。
请问应该如何正确关闭这个提示?

试试这个?

(setq native-comp-async-report-warnings-errors nil)

1 个赞

谢谢,但是~使用这句后,我这边但依然无效!

刚刚试了一下,依然使用

(setq byte-compile-warnings nil)

这句。改变加载顺序后有效了。
经过测试,发现是因 consult 加载时出现的警告提示,才弹出这个窗口。在加载 consult 之前写这句,就不会弹出那个窗口了。 :smiling_face:

(setq byte-compile-warnings nil)
(require 'consult)
1 个赞

我的,我理解错了,我还以为是 native-comp 的 buffer :rofl:

上面我给的那行代码是忽略 native-comp 报错的

1 个赞

哈哈,无论如何都很感谢!我也一并记下这句!对我同样很有帮助!

(setq native-comp-async-report-warnings-errors nil)
1 个赞

放到early-init.el中去

1 个赞

哇~原来可以这样啊!以前从未用过 early-init.el,又学会一招!
:cowboy_hat_face: 实测有效! :blush: :+1: :pray:感谢!!!