Fix jd-frame-height a little bit

This commit is contained in:
John Doty 2022-06-12 07:24:23 -07:00
parent 0d01b4ddb3
commit b3572ac6ad

View file

@ -204,7 +204,9 @@
;; This will show the required string in the scratch buffer. ;; 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) ;; (cond ((> (display-pixel-height) 900) 60)
;; ((> (display-pixel-height) 768) 48) ;; ((> (display-pixel-height) 768) 48)
;; ('t 40))) ;; ('t 40)))
@ -215,14 +217,12 @@
(setq default-frame-alist (setq default-frame-alist
`((font . ,my-font-choice) `((font . ,my-font-choice)
(width . 91) (width . 91)
(height . ,jd-frame-height)
,@default-frame-alist)) ,@default-frame-alist))
;; initial-frame-alist controls what the first frame looks like. ;; initial-frame-alist controls what the first frame looks like.
(setq initial-frame-alist (setq initial-frame-alist
`((font . ,my-font-choice) `((font . ,my-font-choice)
(width . 91) (width . 91)))
(height . ,jd-frame-height)))
)) ))
(use-package modus-themes :ensure (use-package modus-themes :ensure