commit d76227276571ce60f025ea8d0db1c87646fa36b6 parent 53064be96a5bf3cb087fa0c65f48cc12f4b4e96d Author: Alex Balgavy <alex@balgavy.eu> Date: Wed, 25 May 2022 21:10:54 +0200 emacs: hide some warnings Diffstat:
M | emacs/init.el | | | 8 | ++++++++ |
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/emacs/init.el b/emacs/init.el @@ -14,6 +14,14 @@ (scroll-bar-mode -1) (tooltip-mode -1)) +;; If we have native compilation, disable showing them, they get +;; annoying (but still want to log them) +(if (native-comp-available-p) + (setq native-comp-async-report-warnings-errors 'silent)) + +;; Hide 'package CL is deprecated' warning +(setq byte-compile-warnings '(cl-functions)) + ;; Set up custom opener command (defun za/open (what) "Use ~/.scripts/open to open a file"