From 288ccb3984c7cb46b67d0f6bf7fb6d53c5d7a2d3 Mon Sep 17 00:00:00 2001 From: bd Date: Sat, 13 Dec 2025 23:43:10 -0500 Subject: guix: full refactor of configuration structure --- .config/emacs/early-init.el | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 .config/emacs/early-init.el (limited to '.config/emacs/early-init.el') diff --git a/.config/emacs/early-init.el b/.config/emacs/early-init.el deleted file mode 100644 index 037dc17..0000000 --- a/.config/emacs/early-init.el +++ /dev/null @@ -1,38 +0,0 @@ -;;; -*- lexical-binding: t; -*- -;;; Commentary: -;;; Code: - - -;;;; display load information + speedups -(defun bd/display-startup-time () - (message "Emacs loaded in %s with %d garbage collections." - (format "%.2f seconds" - (float-time - (time-subtract after-init-time before-init-time))) - gcs-done)) - -(add-hook 'emacs-startup-hook #'bd/display-startup-time) - -(setq frame-inhibit-implied-resize t) - -;; reduce the frequency of garbage collection during startup -;; by making it happen as little as possible -;; TODO: `most-positive-fixnum' will pressure system memory if used -;; as a permanent value -(setopt gc-cons-threshold most-positive-fixnum - gc-cons-percentage 0.5) - -(add-hook 'emacs-startup-hook - (lambda () - (setopt gc-cons-threshold (* 1024 1024 20) - gc-cons-percentage 0.2))) - - -;;;; avoid-blinding startup -(push '(menu-bar-lines . 0) default-frame-alist) -(push '(tool-bar-lines . 0) default-frame-alist) -(push '(background-color . "#000000") default-frame-alist) -(push '(foreground-color . "#ffffff") default-frame-alist) - - -;;; early-init.el ends here -- cgit v1.2.3