Check window system before scroll-bar-mode

This commit is contained in:
Seth Morabito 2023-07-29 22:30:59 +00:00
parent f944c6b80d
commit d7bf2a478b
1 changed files with 5 additions and 3 deletions

View File

@ -88,10 +88,12 @@ startup messages, the splash screen, tool bar, and tooltips.
(setq warning-minimum-level :emergency
inhibit-startup-message t
inhibit-splash-screen t)
(tool-bar-mode -1)
(tooltip-mode -1)
(scroll-bar-mode -1)
(menu-bar-mode -1)
(when window-system
(progn
(tool-bar-mode -1)
(tooltip-mode -1)
(scroll-bar-mode -1)))
#+END_SRC
** Local lisp directory