aboutsummaryrefslogtreecommitdiff
path: root/Emacs
diff options
context:
space:
mode:
Diffstat (limited to 'Emacs')
-rw-r--r--Emacs/.config/emacs/config.org3
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