about summary refs log tree commit diff
path: root/configs/shared
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-03-21T18·15+0000
committerWilliam Carroll <wpcarro@gmail.com>2019-03-21T18·15+0000
commitef8621e7da7c6177efa47f66105243809f1aa27f (patch)
tree2f1bc7b0d5267333406339372f2818d738181f14 /configs/shared
parent845ebb08feffe322dff54d9d93e554c8397edac4 (diff)
Fixes Emacs's scroll-bar display issues
Prefer (scroll-bar-mode -1) to (toggle-scroll-bar -1).
Diffstat (limited to 'configs/shared')
-rw-r--r--configs/shared/emacs/.emacs.d/wpc/packages/wpc-ui.el6
1 files changed, 1 insertions, 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 7d91cea4be0a..8cbcf3248f71 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