From a4171e1ce502f35e5ba0c5025190134f6e4f88bb Mon Sep 17 00:00:00 2001 From: Marc Date: Thu, 6 Jan 2022 16:55:10 +0100 Subject: [PATCH] was missing --- early-init.el | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 early-init.el diff --git a/early-init.el b/early-init.el new file mode 100644 index 0000000..5f7847d --- /dev/null +++ b/early-init.el @@ -0,0 +1,17 @@ +(setq gc-cons-threshold most-positive-fixnum) + +(defvar default-file-name-handler-alist file-name-handler-alist) +(setq file-name-handler-alist nil) + +(add-hook 'emacs-startup-hook + (lambda () + (setq file-name-handler-alist default-file-name-handler-alist)) 100) + +;; Resizing the emacs frame can be a terriblu expensive part of changing the font. +;; By inhibiting this, we easily hale startup times with fonts that are larger +;; than the system default. +(setq frame-inhibit-implied-resize t) + +(menu-bar-mode -1) ;; disable menu bar +(tool-bar-mode -1) ;; disable tool bar +(scroll-bar-mode -1) ;; disable scroll bar