From 72dfb194d26332ea0f2044a15e841003cc499650 Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Wed, 2 Oct 2024 12:51:10 -0400 Subject: [PATCH] Move features to init.el --- early-init.el | 9 --------- init.el | 11 ++++++++++- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/early-init.el b/early-init.el index f37e189..8645259 100644 --- a/early-init.el +++ b/early-init.el @@ -69,15 +69,6 @@ When set to non-nil, Emacs will automatically call `package-initialize' and ;; Set-language-environment sets default-input-method, which is unwanted. (setq default-input-method nil) -;; Some features that are not represented as packages can be found in -;; `features', but this can be inconsistent. The following enforce consistency: -(if (fboundp #'json-parse-string) - (push 'jansson features)) -(if (string-match-p "HARFBUZZ" system-configuration-features) ; no alternative - (push 'harfbuzz features)) -(if (bound-and-true-p module-file-suffix) - (push 'dynamic-modules features)) - ;;; Garbage collection ;; Garbage collection significantly affects startup times. This setting delays ;; garbage collection during startup but will be reset later. diff --git a/init.el b/init.el index 625eb99..6ce0a7b 100644 --- a/init.el +++ b/init.el @@ -34,13 +34,22 @@ ;; Ensure the 'use-package' package is installed and loaded -;;; Warnings and errors +;;; Features, warnings, and errors ;; Disable warnings from the legacy advice API. They aren't useful. (setq ad-redefinition-action 'accept) (setq warning-suppress-types '((lexical-binding))) +;; Some features that are not represented as packages can be found in +;; `features', but this can be inconsistent. The following enforce consistency: +(if (fboundp #'json-parse-string) + (push 'jansson features)) +(if (string-match-p "HARFBUZZ" system-configuration-features) ; no alternative + (push 'harfbuzz features)) +(if (bound-and-true-p module-file-suffix) + (push 'dynamic-modules features)) + ;;; Minibuffer ;; Allow nested minibuffers (setq enable-recursive-minibuffers t)