diff --git a/early-init.el b/early-init.el index 3a61515..14440fc 100644 --- a/early-init.el +++ b/early-init.el @@ -71,6 +71,15 @@ ;; 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.