From 78e271396cbaf9d34dae8b6018e91aa0603c9537 Mon Sep 17 00:00:00 2001 From: Tobias Ostner Date: Mon, 4 Dec 2023 11:28:50 +0100 Subject: [PATCH] update early init --- .emacs.d/early-init.el | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.emacs.d/early-init.el b/.emacs.d/early-init.el index 3750a45..60438b5 100644 --- a/.emacs.d/early-init.el +++ b/.emacs.d/early-init.el @@ -1,22 +1,27 @@ (setq gc-cons-threshold (* 50 1000 1000)) +(setq byte-compile-warnings '(not obsolete)) +(setq warning-suppress-log-types '((comp) (bytecomp))) +(setq native-comp-async-report-warnings-errors 'silent) +(setq inhibit-startup-echo-area-message (user-login-name)) + (customize-set-variable 'load-prefer-newer noninteractive) -(when (featurep 'native-compile) - (setq native-comp-async-report-warnings-errors nil) - (setq native-comp-deferred-compilation t) - (when (fboundp 'start-redirect-eln-cache) - (if (version< emacs-version "29") - (add-to-list 'native-comp-eln-load-path (convert-standard-filename (expand-file-name "var/eln-cache/" user-emacs-directory))) - (startup-redirect-eln-cache (convert-standard-filename (expand-file-name "var/eln-cache/" user-emacs-directory)))))) +(setq frame-inhibit-implied-resize t + frame-resize-pixelwise t + display-tinme-default-load-average nil) (setq inhibit-startup-message t) (setq initial-scratch-message nil) + (push '(tool-bar-lines . 0) default-frame-alist) (push '(menu-bar-lines . 0) default-frame-alist) (push '(vertical-scroll-bars) default-frame-alist) (push '(mouse-color . "white") default-frame-alist) +(scroll-bar-mode -1) +(menu-bar-mode -1) + (add-to-list 'default-frame-alist '(undecorated-round . t)) (customize-set-variable 'initial-major-mode 'emacs-lisp-mode)