Move features to init.el

This commit is contained in:
James Cherti
2024-10-02 12:51:10 -04:00
parent 55d6155efe
commit 72dfb194d2
2 changed files with 10 additions and 10 deletions

View File

@@ -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.

11
init.el
View File

@@ -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)