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
This commit is contained in:
4
init.el
4
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
|
||||
|
||||
Reference in New Issue
Block a user