From b3572ac6ad22b6103c191804726c24648248e7a5 Mon Sep 17 00:00:00 2001 From: John Doty Date: Sun, 12 Jun 2022 07:24:23 -0700 Subject: [PATCH] Fix jd-frame-height a little bit --- .emacs.d/init.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 3aeee00..09a87e4 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -204,7 +204,9 @@ ;; This will show the required string in the scratch buffer. - ;; (setq jd-frame-height + ;; NOTE: I used to compute the height of the initial frame based on + ;; display pixel height but it got unsustainable and I hated it. (setq + ;; jd-frame-height ;; (cond ((> (display-pixel-height) 900) 60) ;; ((> (display-pixel-height) 768) 48) ;; ('t 40))) @@ -215,14 +217,12 @@ (setq default-frame-alist `((font . ,my-font-choice) (width . 91) - (height . ,jd-frame-height) ,@default-frame-alist)) ;; initial-frame-alist controls what the first frame looks like. (setq initial-frame-alist `((font . ,my-font-choice) - (width . 91) - (height . ,jd-frame-height))) + (width . 91))) )) (use-package modus-themes :ensure