Fixes Emacs's scroll-bar display issues

Prefer (scroll-bar-mode -1) to (toggle-scroll-bar -1).
This commit is contained in:
William Carroll 2019-03-21 18:15:41 +00:00
parent 845ebb08fe
commit ef8621e7da

View file

@ -133,10 +133,6 @@
;; disable GUI scrollbars
(when (display-graphic-p)
(scroll-bar-mode -1))
;; rebalance emacs windows after splits are created ;; rebalance emacs windows after splits are created
(defadvice split-window-below (after rebalance-windows activate) (defadvice split-window-below (after rebalance-windows activate)
(balance-windows)) (balance-windows))
@ -154,7 +150,7 @@
(show-paren-mode 1) (show-paren-mode 1)
;; hide the scroll-bars in the GUI ;; hide the scroll-bars in the GUI
(toggle-scroll-bar -1) (scroll-bar-mode -1)
;; GUI alerts in emacs ;; GUI alerts in emacs
(use-package alert (use-package alert