From 4731faf9e93d0b81d2192f1eee5e399404272154 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Tue, 23 Jul 2024 08:37:40 +0100 Subject: Don't maximise emacs on darwin --- .emacs.d/early-init.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.emacs.d') 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 -- cgit 1.4.1-2-gfad0