Fix (hopefully) the window scroll bar disable function

This commit is contained in:
Evie Litherland-Smith 2024-10-02 11:49:57 +01:00
parent 7a96377d69
commit 77af14bed0

View file

@ -131,13 +131,13 @@ Configure the look and feel of Emacs
(require 'server)
(add-hook 'after-init-hook
(lambda () (when (display-graphic-p) (progn
(my/load-theme-and-configure)
(set-window-scroll-bars (minibuffer-window) nil nil)))))
(lambda () (when (display-graphic-p)
(my/load-theme-and-configure)
(set-window-scroll-bars (minibuffer-window) nil nil))))
(add-hook 'server-after-make-frame-hook
(lambda () (when (display-graphic-p) (progn
(my/load-theme-and-configure)
(set-window-scroll-bars (minibuffer-window) nil nil)))))
(lambda () (when (display-graphic-p)
(my/load-theme-and-configure)
(set-window-scroll-bars (minibuffer-window) nil nil))))
(add-to-list 'package-selected-packages 'nerd-icons)
(use-package nerd-icons