From c2ff47350706872f7a2f4695071dafef7ebc5597 Mon Sep 17 00:00:00 2001 From: Daniel Weschke Date: Mon, 14 Jul 2025 11:07:16 +0200 Subject: [PATCH] fix image feature for terminal --- settings/pre-settings.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/settings/pre-settings.el b/settings/pre-settings.el index cf381df3..1dc502ff 100644 --- a/settings/pre-settings.el +++ b/settings/pre-settings.el @@ -44,7 +44,8 @@ Both Win32 and Cygwin count.") "Check if DBus is available.") ;; add local icon folder to the image-load-path -(add-to-list 'image-load-path (concat config-dir "icon/")) +(when (featurep 'image) + (add-to-list 'image-load-path (concat config-dir "icon/"))) (use-package cus-edit :config