plexus.chemacs2/early-init.el
Arne Brasseur efdafa332f Use a chemacs-early-init var
This way people could still symlink .emacs -> chemacs.el, if they don't have a
need for early-init support.
2020-10-05 08:38:52 +02:00

11 lines
369 B
EmacsLisp

;;; early-init.el --- -*- lexical-binding: t; -*-
(let ((chemacs-directory
(file-name-directory (file-truename load-file-name))))
(load (expand-file-name "chemacs.el" chemacs-directory)))
;; Check for a --with-profile flag and honor it; otherwise load the
;; default profile.
(defvar chemacs-early-init t)
(chemacs-check-command-line-args command-line-args)