move warning level to early-init.el

This commit is contained in:
zedhugh committed 2026-02-01 23:50:12 +08:00
1 parent 52cc25c34d
commit ab339181f6
2 files changed
+4 -4

No files matched your search

+4
View File
@@ -36,3 +36,7 @@
(set-buffer-modified-p nil))) (set-buffer-modified-p nil)))
(add-hook 'emacs-startup-hook #'creature/welcom-message 1999) (add-hook 'emacs-startup-hook #'creature/welcom-message 1999)
(setq warning-minimum-level :error)
(setq warning-minimum-log-level :error)
-4
View File
@@ -109,7 +109,3 @@ If freezing sometimes, decrease it. If stuttering, increase it.")
(with-eval-after-load 'package (with-eval-after-load 'package
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")))
(setq warning-minimum-level :error)
(setq warning-minimum-log-level :error)