summaryrefslogtreecommitdiff
path: root/check-init.el
diff options
context:
space:
mode:
Diffstat (limited to 'check-init.el')
-rwxr-xr-xcheck-init.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/check-init.el b/check-init.el
new file mode 100755
index 0000000..0723e82
--- /dev/null
+++ b/check-init.el
@@ -0,0 +1,8 @@
+#!/usr/bin/env -S emacs --script
+
+(kill-emacs (condition-case nil
+ (progn
+ (load (file-name-concat user-emacs-directory "early-init.el"))
+ (load (file-name-concat user-emacs-directory "init.el")))
+ (error 1)
+ (:success 0)))