about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2024-06-14 09:01:14 +0100
committerDavid Morgan <djm_uk@protonmail.com>2024-06-14 09:01:14 +0100
commitb75e46ba9b27faf33d28908c89486bfd27b344ba (patch)
tree5f0d85f3a050ffb6f65710e7e7825939d031a572
parent8bc82bca9e22bfdeabf47ee10f0c7118958676f4 (diff)
downloaddotfiles-b75e46ba9b27faf33d28908c89486bfd27b344ba.tar.gz
Fix macOS issue
-rw-r--r--.emacs.d/early-init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/.emacs.d/early-init.el b/.emacs.d/early-init.el
index d087bb6..9e1f474 100644
--- a/.emacs.d/early-init.el
+++ b/.emacs.d/early-init.el
@@ -11,7 +11,8 @@
       byte-compile-warnings '(not free-vars unresolved noruntime lexical make-local obsolete))
 
 (push '(menu-bar-lines . 0) default-frame-alist)
-(push '(tool-bar-lines . 0) default-frame-alist)
+(unless (eq system-type 'darwin)  ; causes issues in newer versions of macos
+  (push '(tool-bar-lines . 0) default-frame-alist))
 (push '(vertical-scroll-bars) default-frame-alist)
 (when (featurep 'ns)
   (push '(ns-transparent-titlebar . t) default-frame-alist))