;;; init-osx.el --- configure osx -*- lexical-binding: t -*- ;; Author: Franck Cuny ;;; Commentary: ;; configure osx ;;; Code: (when (memq window-system '(mac ns)) (add-to-list 'default-frame-alist '(fullscreen . maximized)) (add-to-list 'default-frame-alist '(ns-appearance . nil)) (add-to-list 'default-frame-alist '(ns-transparent-titlebar . nil)) (when (boundp 'ns-use-native-fullscreen) (setq ns-use-native-fullscreen nil)) (when (boundp 'mac-allow-anti-aliasing) (setq mac-allow-anti-aliasing t))) (use-package exec-path-from-shell :ensure t :demand t :if (memq window-system '(mac ns)) :config (exec-path-from-shell-initialize)) (provide 'init-osx) ;;; init-osx.el ends here