add disabled-warning.el to disable warning temporarily

This commit is contained in:
zedhugh committed 2025-11-26 19:34:38 +08:00
1 parent 6a4725f3e1
commit adefd5cdc9
1 file changed
+4
+4
View File
@@ -60,6 +60,10 @@ If freezing sometimes, decrease it. If stuttering, increase it.")
dir) dir)
"Cache directory of Creature.") "Cache directory of Creature.")
;; disable warning temporarily
(let ((disable-warning-file (file-name-concat creature/cache-dir "disabled-warning.el")))
(when (file-exists-p disable-warning-file) (load disable-warning-file)))
(add-to-list 'load-path (expand-file-name "lisp" creature/config-dir) t) (add-to-list 'load-path (expand-file-name "lisp" creature/config-dir) t)