all repos — archive/dotfiles @ d003572ef2a5e1247b1b7da60062eb6b95721a18

Superseded by nixfiles

Emacs: improve macOS chrome display
Alan Pearce alan@alanpearce.eu
Tue, 05 Feb 2019 15:20:57 +0000
commit

d003572ef2a5e1247b1b7da60062eb6b95721a18

parent

10be7569bdcab997f7e2e10422432e5674446811

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -236,6 +236,9 @@ (setq-default cursor-in-non-selected-windows nil) 
 (add-to-list 'default-frame-alist '(border-width . 0))
 (add-to-list 'default-frame-alist '(internal-border-width . 0))
+(when (eq system-type 'darwin)
+  (add-to-list 'default-frame-alist '(ns-transparent-titlebar . t))
+  (add-to-list 'default-frame-alist '(ns-appearance . light)))
 (when (or (eq window-system 'x)
           (eq window-system 'mac))
   (setq window-divider-default-bottom-width 1