Move disabling minibuffer scroll bar to hooks
Fixes it not being run for server frames
This commit is contained in:
parent
75dd04379d
commit
9a18bfcaf2
10
README.org
10
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
|
||||
|
|
Loading…
Reference in a new issue