move custom icon folder setting to pre-settings

This commit is contained in:
2025-07-06 21:54:54 +02:00
parent bdaba88536
commit 6b0b733873
2 changed files with 3 additions and 2 deletions

View File

@@ -43,6 +43,9 @@ Both Win32 and Cygwin count.")
(if (require 'dbus) (dbus-ping :session "org.freedesktop.Notifications"))) ;; is not enough (if (require 'dbus) (dbus-ping :session "org.freedesktop.Notifications"))) ;; is not enough
"Check if DBus is available.") "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 (use-package cus-edit
:config :config
(setq custom-buffer-done-kill t) (setq custom-buffer-done-kill t)

View File

@@ -124,8 +124,6 @@
:after (image) :after (image)
:defer t :defer t
:config :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: revert after close?
;; TODO: add redo? ;; TODO: add redo?