Move features to init.el
This commit is contained in:
@@ -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.
|
;; Set-language-environment sets default-input-method, which is unwanted.
|
||||||
(setq default-input-method nil)
|
(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
|
||||||
;; Garbage collection significantly affects startup times. This setting delays
|
;; Garbage collection significantly affects startup times. This setting delays
|
||||||
;; garbage collection during startup but will be reset later.
|
;; garbage collection during startup but will be reset later.
|
||||||
|
|||||||
11
init.el
11
init.el
@@ -34,13 +34,22 @@
|
|||||||
|
|
||||||
;; Ensure the 'use-package' package is installed and loaded
|
;; 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.
|
;; Disable warnings from the legacy advice API. They aren't useful.
|
||||||
(setq ad-redefinition-action 'accept)
|
(setq ad-redefinition-action 'accept)
|
||||||
|
|
||||||
(setq warning-suppress-types '((lexical-binding)))
|
(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
|
;;; Minibuffer
|
||||||
;; Allow nested minibuffers
|
;; Allow nested minibuffers
|
||||||
(setq enable-recursive-minibuffers t)
|
(setq enable-recursive-minibuffers t)
|
||||||
|
|||||||
Reference in New Issue
Block a user