Update my emacs-mod build.

This commit is contained in:
Mid Favila 2021-07-20 00:10:52 +00:00
parent ca37a4cce8
commit d73ccba310

View File

@ -23,6 +23,18 @@ cat << EOF > "$1/usr/share/emacs/site-lisp/site-start.el"
;; Needed unless KISS Linux gains librsvg support ;; Needed unless KISS Linux gains librsvg support
(setq-default shr-blocked-images ".*\.svg$") (setq-default shr-blocked-images ".*\.svg$")
;; Augment ELPA.
(require 'package)
(add-to-list 'package-archives
'("melpa-stable" . "https://stable.melpa.org/packages/"))
;; Increase garbage collection during startup. Reduces boot times.
(setq startup/gc-cons-threshold gc-cons-threshold)
(setq gc-cons-threshold most-positive-fixnum)
(defun startup/reset-gc () (setq gc-cons-threshold startup/gc-cons-threshold))
(add-hook 'emacs-startup-hook 'startup/reset-gc)
EOF EOF
make make