From c5b24f95adb65eac2145baedc9aeb85b8b439cc9 Mon Sep 17 00:00:00 2001 From: Raphael Roberts Date: Sat, 24 Dec 2022 05:27:38 -0600 Subject: [PATCH] Only disable scrollbar when scroll-bar-mode is defined --- personal/ui.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/personal/ui.el b/personal/ui.el index 1a8ea4b..da1be12 100644 --- a/personal/ui.el +++ b/personal/ui.el @@ -1,2 +1,3 @@ (menu-bar-mode -1) -(scroll-bar-mode -1) +(when (fboundp 'scroll-bar-mode) + (scroll-bar-mode -1))