From 3b73728c416608a467f9e57ea0c4da5d68d78c6a Mon Sep 17 00:00:00 2001 From: kj Date: Thu, 13 Apr 2023 15:53:15 -0400 Subject: [PATCH] Start emacs maximized. --- early-init.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/early-init.el b/early-init.el index 3222b5a..e1ef263 100644 --- a/early-init.el +++ b/early-init.el @@ -32,9 +32,14 @@ (add-hook 'after-init-hook #'restore-gc-cons-percentage-after-init) (setq gc-cons-percentage (get 'gc-cons-percentage 'value-during-init)) -;; Permitir solo la búsqueda de archivos case sentsitive. +;; Permitir solo la búsqueda de archivos a cargar en la config en case sensitive. (setq auto-mode-case-fold nil) +;; Iniciar emacs maximizado +(add-to-list 'initial-frame-alist '(fullscreen . maximized)) ; frame inicial +;; (add-to-list 'default-frame-alist '(fullscreen . maximized)) ; Cada frame +;; (add-hook 'window-setup-hook 'toggle-frame-maximized t) ; Hacerlo mediante window-setup-hook (se maximiza al terminar de cargar la ventana) + ;; Recommended by ;; https://github.com/raxod502/straight.el#getting-started to prevent ;; pacakge.el stepping on straight's toes.