From 0325922dd3973d6916e39b636cbe73a46894603b Mon Sep 17 00:00:00 2001 From: Daniel Weschke Date: Thu, 3 Jul 2025 12:06:21 +0200 Subject: [PATCH] fix for terminal --- early-init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/early-init.el b/early-init.el index bf29a7c2..e505ed13 100644 --- a/early-init.el +++ b/early-init.el @@ -452,7 +452,8 @@ startup phase.") ;; Turn off backup for this file (make-local-variable 'make-backup-files) (setq make-backup-files nil) - (scroll-bar-mode -1) + (when (featurep 'scroll-bar) ;; for terminal scroll-bar ist not loaded + (scroll-bar-mode -1)) (insert ";;; " (file-name-nondirectory frameg-file) " --- Frame configuration -*- no-byte-compile: t; lexical-binding: t; -*-" ";;; This file stores the previous emacs frame's geometry.\n"