Fixes Emacs's scroll-bar display issues
Prefer (scroll-bar-mode -1) to (toggle-scroll-bar -1).
This commit is contained in:
parent
845ebb08fe
commit
ef8621e7da
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue