.emacs.d

the most bloated Emacs config on this planet
git clone https://git.trogloxene.org/.emacs.d.git
Log | Files | Refs

commit 037abc77a21717d5b5f32daf913e1a8193c009fd
parent c15ccb6fbfe0074287a71f6a514b808e6222abd2
Author: andsy10 <andsy1016@gmail.com>
Date:   Sun, 30 Aug 2026 21:27:17 +0800

Inline init-const.el into init.el

Diffstat:
Minit.el | 5++++-
Dlisp/init-const.el | 13-------------
2 files changed, 4 insertions(+), 14 deletions(-)

diff --git a/init.el b/init.el @@ -21,7 +21,10 @@ (setq custom-file (expand-file-name "custom.el" user-emacs-directory)) (load custom-file t) -(require 'init-const) +(defconst *is-mac* (eq system-type 'darwin)) +(defconst *is-linux* (eq system-type 'gnu/linux)) +(defconst *is-windows* (or (eq system-type 'ms-dos) (eq system-type 'windows-nt))) +(defconst *is-android* (if (getenv "TERMUX_VERSION") t nil)) (if (or (display-graphic-p) *is-android*) (progn diff --git a/lisp/init-const.el b/lisp/init-const.el @@ -1,13 +0,0 @@ -;;; init-const.el --- constant and system stuff -*- lexical-binding: t -*- - -;;; Commentary: - -;;; Code: - -(defconst *is-mac* (eq system-type 'darwin)) -(defconst *is-linux* (eq system-type 'gnu/linux)) -(defconst *is-windows* (or (eq system-type 'ms-dos) (eq system-type 'windows-nt))) -(defconst *is-android* (if (getenv "TERMUX_VERSION") t nil)) - -(provide 'init-const) -;;; init-const.el ends here