From bdfdc60b30c81f2db5e03c1dc357eb8586df070f Mon Sep 17 00:00:00 2001 From: KemoNine Date: Tue, 8 Nov 2022 12:52:56 -0500 Subject: [PATCH] prevent some startup warnings from popping up but keeping them logged --- accounting/init.el | 3 +++ code/init.el | 3 +++ org/init.el | 3 +++ 3 files changed, 9 insertions(+) diff --git a/accounting/init.el b/accounting/init.el index 7ba08f0..0462f57 100644 --- a/accounting/init.el +++ b/accounting/init.el @@ -4,6 +4,9 @@ ;; Make gc pauses faster by decreasing the threshold. (setq gc-cons-threshold (* 2 1000 1000)) +;; disable warnings from popping up, they are still logged +(setq warning-suppress-types '((comp))) + (require 'package) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) ;; Comment/uncomment this line to enable MELPA Stable if desired. See `package-archive-priorities` diff --git a/code/init.el b/code/init.el index fc28844..4e0a60e 100644 --- a/code/init.el +++ b/code/init.el @@ -4,6 +4,9 @@ ;; Make gc pauses faster by decreasing the threshold. (setq gc-cons-threshold (* 2 1000 1000)) +;; disable warnings from popping up, they are still logged +(setq warning-suppress-types '((comp))) + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; helper functions ;; Figure out if inside Termux diff --git a/org/init.el b/org/init.el index 1d63bef..45f2319 100644 --- a/org/init.el +++ b/org/init.el @@ -4,6 +4,9 @@ ;; Make gc pauses faster by decreasing the threshold. (setq gc-cons-threshold (* 2 1000 1000)) +;; disable warnings from popping up, they are still logged +(setq warning-suppress-types '((comp))) + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; helper functions ;; Figure out if inside Termux