From 3bf68359f0b24380a5b20d8665f86a9233a98db3 Mon Sep 17 00:00:00 2001 From: Max Regan Date: Sun, 5 Jul 2020 13:28:04 -0700 Subject: [PATCH] emacs: Fix scroll-bar-mode regardless of window system --- .emacs.d/init.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.emacs.d/init.org b/.emacs.d/init.org index b18dd80..cd9536a 100644 --- a/.emacs.d/init.org +++ b/.emacs.d/init.org @@ -56,7 +56,8 @@ Configure some startup parameters. (setq inhibit-splash-screen t) ;; disable the splash screen on boot (menu-bar-mode 0) ;; disable the menu bar (tool-bar-mode 0) ;; disable the tool bar - (scroll-bar-mode 0) ;; disable scroll bars + (if (window-system) + (scroll-bar-mode nil)) ;; disable scroll bars #+END_SRC *** Deleting