From f0fece376e86c200f4763d579b37c84b31c39fb0 Mon Sep 17 00:00:00 2001 From: Nicholas Rodrigues Lordello Date: Fri, 20 Jun 2025 08:01:11 +0200 Subject: Fix Config for `emacs-nw` `scroll-bar-mode` is not available in `emacs-nw`, so change the configuration to only remove the mode in case the symbol is bound. --- config/emacs/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/emacs/init.el b/config/emacs/init.el index 6c4448c..2973e92 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -80,7 +80,8 @@ :init (menu-bar-mode -1) (tool-bar-mode -1) - (scroll-bar-mode -1) + (when (fboundp 'scroll-bar-mode) + (scroll-bar-mode -1)) (which-key-mode +1) (column-number-mode +1) (delete-selection-mode +1) -- cgit v1.2.3