From cae274808f85728d80a7968b710f293c24e1c821 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 12 Feb 2022 00:36:38 +0300 Subject: fix(tazjin/emacs): suppress emacs warnings in warnings buffer Change-Id: I78e431da01dc900344044f1571e35565f8361f3a Reviewed-on: https://cl.tvl.fyi/c/depot/+/5281 Autosubmit: tazjin Reviewed-by: tazjin Tested-by: BuildkiteCI --- users/tazjin/emacs/config/look-and-feel.el | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/users/tazjin/emacs/config/look-and-feel.el b/users/tazjin/emacs/config/look-and-feel.el index 8cca6e1bf0..72665d00c6 100644 --- a/users/tazjin/emacs/config/look-and-feel.el +++ b/users/tazjin/emacs/config/look-and-feel.el @@ -119,4 +119,13 @@ ;; Don't wrap around when moving between buffers (setq windmove-wrap-around nil) +;; Don't show me all emacs warnings immediately. Unfortunately this is +;; not very granular, as emacs displays most of its warnings in the +;; `emacs' "category", but without it every time I +;; fullscreen/unfullscreen the warning buffer destroys my layout. +;; +;; Warnings suppressed by this are still logged to the warnings +;; buffer. +(setq warning-suppress-types '((emacs))) + (provide 'look-and-feel) -- cgit 1.4.1