diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2025-10-23 02:21:49 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2025-10-23 02:21:49 +0100 |
commit | e2b1883af6532ff7270e816ce5d676423bd1aa6e (patch) | |
tree | f15f007c9ca2dde080b39dc87fc9ac54cfdda356 /Emacs/.config | |
parent | c4e935e3d64e55410b171ed4e323959cf23d2b6c (diff) | |
download | dotfiles-e2b1883af6532ff7270e816ce5d676423bd1aa6e.tar.gz dotfiles-e2b1883af6532ff7270e816ce5d676423bd1aa6e.tar.bz2 dotfiles-e2b1883af6532ff7270e816ce5d676423bd1aa6e.zip |
Fix bug with making new frames not having the right font settings
Diffstat (limited to 'Emacs/.config')
-rw-r--r-- | Emacs/.config/emacs/config.org | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index eace11d..9850f97 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -263,7 +263,7 @@ also added to `enable-theme-functions` such that loading a theme will forcefully adjust the font size. #+begin_src emacs-lisp -(defun +oreo/font-reset (&optional theme) +(defun +oreo/font-reset (&optional _) (--> (* (pcase (system-name) ; get a fixed base value based on the machine ("rhmaiden" 140) @@ -278,6 +278,7 @@ forcefully adjust the font size. (set-face-attribute 'mode-line nil :height it)))) (add-to-list 'enable-theme-functions #'+oreo/font-reset) +(add-to-list 'after-make-frame-functions #'+oreo/font-reset) #+end_src ** Proper paths in Emacs Imagine you adjust your path in ZSH. This change won't necessarily |