From ef8621e7da7c6177efa47f66105243809f1aa27f Mon Sep 17 00:00:00 2001 From: William Carroll Date: Thu, 21 Mar 2019 18:15:41 +0000 Subject: [PATCH] Fixes Emacs's scroll-bar display issues Prefer (scroll-bar-mode -1) to (toggle-scroll-bar -1). --- configs/shared/emacs/.emacs.d/wpc/packages/wpc-ui.el | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/configs/shared/emacs/.emacs.d/wpc/packages/wpc-ui.el b/configs/shared/emacs/.emacs.d/wpc/packages/wpc-ui.el index 7d91cea4b..8cbcf3248 100644 --- a/configs/shared/emacs/.emacs.d/wpc/packages/wpc-ui.el +++ b/configs/shared/emacs/.emacs.d/wpc/packages/wpc-ui.el @@ -133,10 +133,6 @@ -;; disable GUI scrollbars -(when (display-graphic-p) - (scroll-bar-mode -1)) - ;; rebalance emacs windows after splits are created (defadvice split-window-below (after rebalance-windows activate) (balance-windows)) @@ -154,7 +150,7 @@ (show-paren-mode 1) ;; hide the scroll-bars in the GUI -(toggle-scroll-bar -1) +(scroll-bar-mode -1) ;; GUI alerts in emacs (use-package alert