mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
feat(core): add support for native-comp/gccemacs
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
(add-to-list 'load-path siren-core-dir)
|
||||
|
||||
;; Configure siren-cache-dir
|
||||
(setq siren-cache-dir (expand-file-name "cache" siren-dir))
|
||||
(setq siren-cache-dir (expand-file-name "cache" user-emacs-directory))
|
||||
(unless (file-exists-p siren-cache-dir)
|
||||
(make-directory siren-cache-dir))
|
||||
|
||||
|
||||
@@ -6,6 +6,14 @@
|
||||
|
||||
;;; Code:
|
||||
|
||||
;; Native-Comp
|
||||
(setq comp-speed 2
|
||||
comp-deferred-compilation t)
|
||||
|
||||
(when (boundp 'comp-eln-load-path)
|
||||
(add-to-list 'comp-eln-load-path
|
||||
(expand-file-name "cache/eln-cache/" user-emacs-directory)))
|
||||
|
||||
;; Defer garbage collection further back in the startup process
|
||||
(setq gc-cons-threshold most-positive-fixnum)
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
(desktop-restore-frames t)
|
||||
|
||||
:config
|
||||
(add-to-list 'desktop-clear-preserve-buffers "\\*Async-native-compile-log\\*")
|
||||
(push '(font . :never) frameset-filter-alist)
|
||||
(push '(fontsize . :never) frameset-filter-alist)
|
||||
(push '(fullscreen . :never) frameset-filter-alist)
|
||||
|
||||
Reference in New Issue
Block a user