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"