mirror of
https://github.com/plexus/chemacs2.git
synced 2026-09-10 07:26:27 -04:00
This way people could still symlink .emacs -> chemacs.el, if they don't have a need for early-init support.
11 lines
369 B
EmacsLisp
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)
|