Update my emacs-mod build.
This commit is contained in:
parent
ca37a4cce8
commit
d73ccba310
@ -23,6 +23,18 @@ cat << EOF > "$1/usr/share/emacs/site-lisp/site-start.el"
|
||||
|
||||
;; Needed unless KISS Linux gains librsvg support
|
||||
(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
|
||||
|
||||
make
|
||||
|
Loading…
Reference in New Issue
Block a user