summaryrefslogtreecommitdiff
path: root/guix/kolwynia/home/bdunahu/files/.config/emacs/early-init.el
diff options
context:
space:
mode:
authorbdunahu <bdunahu@operationnull.com>2026-01-04 13:13:39 -0700
committerbdunahu <bdunahu@operationnull.com>2026-01-04 13:13:39 -0700
commitc2b706ff2f3aa42d58a03febad1d1b8f8d5a1142 (patch)
treed6786f531f02717472abdc992cc6c6ef81e660b3 /guix/kolwynia/home/bdunahu/files/.config/emacs/early-init.el
parentc4ca05231236c7e9bdf5304275eadde954acf588 (diff)
remove unnecessary nested guix dir
Diffstat (limited to 'guix/kolwynia/home/bdunahu/files/.config/emacs/early-init.el')
-rw-r--r--guix/kolwynia/home/bdunahu/files/.config/emacs/early-init.el38
1 files changed, 0 insertions, 38 deletions
diff --git a/guix/kolwynia/home/bdunahu/files/.config/emacs/early-init.el b/guix/kolwynia/home/bdunahu/files/.config/emacs/early-init.el
deleted file mode 100644
index 037dc17..0000000
--- a/guix/kolwynia/home/bdunahu/files/.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