diff --git a/configs/base.el b/configs/base.el index bfd24f6..201d37e 100644 --- a/configs/base.el +++ b/configs/base.el @@ -13,6 +13,16 @@ ;; The default is 800 kilobytes. Measured in bytes. (setq gc-cons-threshold (* 50 1000 1000)) +;; Native compilation +(when (and (fboundp 'native-comp-available-p) + (native-comp-available-p)) + (progn + (setq native-comp-async-report-warnings-errors nil) + (setq comp-deferred-compilation t) + (add-to-list 'native-comp-eln-load-path (expand-file-name "private/cache/eln-cache/" user-emacs-directory)) + (setq package-native-compile t) + )) + ;; Initialize package sources (require 'package) @@ -34,7 +44,7 @@ (use-package dracula-theme :config (load-theme 'dracula t) - (set-face-attribute 'default nil :font "Fira Code Retina") ; Font + (set-face-attribute 'default nil :font "Fira Code Retina" :height 112) ; Font ) ;; Instalar use-package en caso de no tenerlo