From fa9b2a92c21a8f7e7fda2d7902a9d6da96a962df Mon Sep 17 00:00:00 2001 From: Astounds Date: Fri, 27 Feb 2026 23:34:18 -0500 Subject: ci: add test workflow and fix code quality issues - Add CI test job with Emacs batch load and byte-compile - Fix settings-file variable check in init.el - Fix extra parenthesis in init-neotree.el - Add missing projectile dependencies in neotree and web-mode - Fix add-hook usage in init-icons.el - Add hydra dependency in init-ivy.el - Standardize header style in init-company.el --- init.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'init.el') diff --git a/init.el b/init.el index c0ec314..4a9d8bf 100644 --- a/init.el +++ b/init.el @@ -51,6 +51,8 @@ gc-cons-percentage 0.1)))) ;;; Modules directory +(if noninteractive + (setq user-emacs-directory default-directory)) (push (concat user-emacs-directory "modules") load-path) ;;;------------------------------ @@ -135,7 +137,7 @@ ;;; Settings (setq settings-file (expand-file-name "settings.el" user-emacs-directory)) ;;; Loads settings file -(when (file-exists-p custom-file) +(when (file-exists-p settings-file) (load settings-file)) ;; enable erase-buffer command -- cgit v1.2.3