Enforce the consistency of Emacs features
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user