From c71291af427449c0a1b00c5b824136163ab70195 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 28 Feb 2017 15:12:20 +0100 Subject: Emacs: Configure window-dividers in X11 environments --- tag-emacs/emacs.d/init.org | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index 24efdb6a..fb279f27 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -181,9 +181,12 @@ Let’s try a basic theme. (add-to-list 'default-frame-alist '(border-width . 0)) (add-to-list 'default-frame-alist '(internal-border-width . 0)) - (setq window-divider-default-bottom-width 6 - window-divider-default-places t) - (window-divider-mode +1) + (when (eq window-system 'x) + (setq window-divider-default-bottom-width 1 + window-divider-default-right-width 1 + window-divider-default-places t) + (setq mode-line-default-hidden t) + (window-divider-mode +1)) (add-hook 'after-change-major-mode-hook #'hide-mode-line-if-default-hidden) -- cgit 1.4.1