Emacs: Configure window-dividers in X11 environments
Alan Pearce alan@alanpearce.uk
Tue, 28 Feb 2017 15:12:20 +0100
1 files changed, 6 insertions(+), 3 deletions(-)
jump to
M tag-emacs/emacs.d/init.org → tag-emacs/emacs.d/init.org
@@ -181,9 +181,12 @@ (show-mode-line))) (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)