about summary refs log tree commit diff
path: root/users/tazjin/emacs/config
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-11-13T20·46+0300
committertazjin <mail@tazj.in>2021-11-13T21·09+0000
commit1cdc488f19430e5076a37e1f9757b4a499921132 (patch)
tree658626f8e41d1453c9193a2c5cd3cb42b4224129 /users/tazjin/emacs/config
parentb28c94c101ac4648c6c688b94b08c99cd870176c (diff)
feat(tazjin/emacs): Disable annoying warnings from native comp r/3065
Change-Id: Ibe6bcd544188afb8746bf27a6467a436803e659f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3876
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin/emacs/config')
-rw-r--r--users/tazjin/emacs/config/init.el4
1 files changed, 4 insertions, 0 deletions
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.