Update init.el to autodownload autocompile.

This commit is contained in:
Mid Favila 2021-12-14 22:08:30 -04:00
parent 62c0bc4eab
commit 223ddca7df
1 changed files with 8 additions and 4 deletions

View File

@ -20,7 +20,7 @@
;; Make startup faster by reducing the frequency of garbage
;; collection. The default is 800 kilobytes. Measured in bytes.
(setq gc-cons-threshold (* 1000 1000 1000))
(setq gc-cons-threshold (* 1000 1000 1000))
;;;; Index:
@ -182,9 +182,6 @@
;; Disable TLS 1.3.
(eval-after-load "gnutls" (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3"))
;; Byte-compile ELisp when saving.
(auto-compile-on-save-mode t)
;; Store temporary files in a backup directory.
(progn
(setq temporary-file-directory "~/.config/emacs/.backup/temp/")
@ -327,6 +324,13 @@
;;; Subsection 2.3
;; Make sure Emacs auto-compiles ELisp.
(use-package auto-compile
:ensure t
:defer t
:config
(auto-compile-on-save-mode t))
;; Add SLY, a Lisp REPL.
(use-package sly
:ensure t