created check-init.el script

master
John Turner 2 years ago
parent 2518c94484
commit 7f1fc2f936
No known key found for this signature in database
GPG Key ID: 422FE10CC41A94A2

1
.gitignore vendored

@ -2,6 +2,7 @@
!/.gitignore !/.gitignore
!/init.el !/init.el
!/early-init.el !/early-init.el
!/check-init.el
!/themes !/themes
!/init !/init
!/lisp !/lisp

@ -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)))
Loading…
Cancel
Save