From 9a18bfcaf28c708d3b30011582d8ca0f51bf9460 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 1 Oct 2024 09:32:15 +0100 Subject: [PATCH] Move disabling minibuffer scroll bar to hooks Fixes it not being run for server frames --- README.org | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.org b/README.org index aa29d44..d964c53 100644 --- a/README.org +++ b/README.org @@ -84,8 +84,6 @@ Configure the look and feel of Emacs async-shell-command-display-buffer nil compilation-scroll-output t) -(set-window-scroll-bars (minibuffer-window) nil nil) - (global-prettify-symbols-mode +1) (tool-bar-mode -1) #+end_src @@ -133,9 +131,13 @@ Configure the look and feel of Emacs (require 'server) (add-hook 'after-init-hook - (lambda () (when (display-graphic-p) (my/load-theme-and-configure)))) + (lambda () (when (display-graphic-p) (progn + (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) (my/load-theme-and-configure)))) + (lambda () (when (display-graphic-p) (progn + (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