From 1cdc488f19430e5076a37e1f9757b4a499921132 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 13 Nov 2021 23:46:41 +0300 Subject: feat(tazjin/emacs): Disable annoying warnings from native comp Change-Id: Ibe6bcd544188afb8746bf27a6467a436803e659f Reviewed-on: https://cl.tvl.fyi/c/depot/+/3876 Reviewed-by: tazjin Tested-by: BuildkiteCI --- users/tazjin/emacs/config/init.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/users/tazjin/emacs/config/init.el b/users/tazjin/emacs/config/init.el index 8014c86a5a57..54de6f741a71 100644 --- a/users/tazjin/emacs/config/init.el +++ b/users/tazjin/emacs/config/init.el @@ -1,5 +1,9 @@ ;;; init.el --- Package bootstrapping. -*- lexical-binding: t; -*- +;; Disable annoying warnings from native compilation. +(setq native-comp-async-report-warnings-errors nil + warning-suppress-log-types '((comp))) + ;; Packages are installed via Nix configuration, this file only ;; initialises the newly loaded packages. -- cgit 1.4.1