From 6b0b733873c399fd470e12ba5596b5bd41bb81ce Mon Sep 17 00:00:00 2001 From: Daniel Weschke Date: Sun, 6 Jul 2025 21:54:54 +0200 Subject: [PATCH] move custom icon folder setting to pre-settings --- settings/pre-settings.el | 3 +++ settings/toolbar-settings.el | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/settings/pre-settings.el b/settings/pre-settings.el index 340b44e9..cf381df3 100644 --- a/settings/pre-settings.el +++ b/settings/pre-settings.el @@ -43,6 +43,9 @@ Both Win32 and Cygwin count.") (if (require 'dbus) (dbus-ping :session "org.freedesktop.Notifications"))) ;; is not enough "Check if DBus is available.") +;; add local icon folder to the image-load-path +(add-to-list 'image-load-path (concat config-dir "icon/")) + (use-package cus-edit :config (setq custom-buffer-done-kill t) diff --git a/settings/toolbar-settings.el b/settings/toolbar-settings.el index 7537fd17..407b7c0c 100644 --- a/settings/toolbar-settings.el +++ b/settings/toolbar-settings.el @@ -124,8 +124,6 @@ :after (image) :defer t :config - ;; add local icon folder to the image-load-path - (add-to-list 'image-load-path (concat config-dir "icon/")) ;; TODO: revert after close? ;; TODO: add redo?