about summary refs log tree commit diff stats
path: root/.emacs.d
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2024-07-23 08:37:40 +0100
committerDavid Morgan <djm_uk@protonmail.com>2024-07-23 08:37:40 +0100
commit4731faf9e93d0b81d2192f1eee5e399404272154 (patch)
treed27af5df13518794785467fcbd5bd279e5d48e2a /.emacs.d
parent6a6b96f146668719364b6f54679c4b2f4e0c6a1f (diff)
downloaddotfiles-4731faf9e93d0b81d2192f1eee5e399404272154.tar.gz
Don't maximise emacs on darwin
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/early-init.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/.emacs.d/early-init.el b/.emacs.d/early-init.el
index 9e1f474..1608f02 100644
--- a/.emacs.d/early-init.el
+++ b/.emacs.d/early-init.el
@@ -19,8 +19,9 @@
 
 (setq frame-inhibit-implied-resize t)
 
-(toggle-frame-maximized)
-(add-to-list 'default-frame-alist '(fullscreen . maximized))
+(unless (eq system-type 'darwin)
+  (toggle-frame-maximized)
+  (add-to-list 'default-frame-alist '(fullscreen . maximized)))
 
 (menu-bar-mode -1)
 (when window-system