From 755cc881b70383c69c5e6c1117eba33f0ffb0e8c Mon Sep 17 00:00:00 2001 From: Andre Schaf Date: Sat, 26 Sep 2026 19:18:43 +0200 Subject: [PATCH] added early init from bedrock --- early-init.el | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 early-init.el diff --git a/early-init.el b/early-init.el new file mode 100644 index 0000000..27c944b --- /dev/null +++ b/early-init.el @@ -0,0 +1,24 @@ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;;; +;;; Basic settings for quick startup and convenience +;;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +;; Startup speed, annoyance suppression +(setq bedrock--initial-gc-threshold gc-cons-threshold) +(setq gc-cons-threshold 10000000) +(setq byte-compile-warnings '(not obsolete)) +(setq warning-suppress-log-types '((comp) (bytecomp))) +(setq native-comp-async-report-warnings-errors 'silent) + +;; Silence stupid startup message +(advice-add #'display-startup-echo-area-message :override #'ignore) + +;; Tell use-package to install if missing by default +;; Use `:ensure nil' in packages you *don't* want to install +(setq use-package-always-ensure t) + +;; Setting *-resize-pixelwise to `t' lets frames/windows resize +;; smoothly at sub-character increments +(setq frame-resize-pixelwise t) +; (setq window-resize-pixelwise t)