summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-05-23 15:49:26 +0200
committerAlan Pearce2017-05-23 15:49:26 +0200
commitbebf6f939455755b24528b64c171ce453c3a3e03 (patch)
treea59355e09438e7ad1fceda1c32d7fe43e13ec93c
parent32ff2aca5ff86a2a024948dcb135ae946f9eba17 (diff)
downloaddotfiles-bebf6f939455755b24528b64c171ce453c3a3e03.tar.lz
dotfiles-bebf6f939455755b24528b64c171ce453c3a3e03.tar.zst
dotfiles-bebf6f939455755b24528b64c171ce453c3a3e03.zip
Emacs: Configure window-divider-mode on macOS
It didn't work on previous releases using the NextStep window system,
but with a new version of emacs-mac-port, it's good.  Fortunately,
Emacs knows the difference: window-system is either `ns` or `mac`
-rw-r--r--emacs/.emacs.d/init.org3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 9e4a055..d63803b 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -311,7 +311,8 @@ Sometimes I like to hide clutter.  Other times, it's useful.
 
 (add-to-list 'default-frame-alist '(border-width . 0))
 (add-to-list 'default-frame-alist '(internal-border-width . 0))
-(when (eq window-system 'x)
+(when (or (eq window-system 'x)
+          (eq window-system 'mac))
   (setq window-divider-default-bottom-width 1
         window-divider-default-right-width 1
         window-divider-default-places t)