From 85af27089ceecf98f00c870b863f665612cc77c7 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Wed, 19 Sep 2018 13:17:09 +0900 Subject: [PATCH] Add frame-background-mode --- emacs.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emacs.el b/emacs.el index 3e28ece..4816ef5 100644 --- a/emacs.el +++ b/emacs.el @@ -515,6 +515,9 @@ found, otherwise returns nil." ;; (set-window-margins (selected-window) 1 1) +(unless window-system + (setq frame-background-mode 'dark)) + (and (or (eq system-type 'Darwin) (eq system-type 'darwin)) (fboundp 'mac-set-input-method-parameter)