416e6640d6
This commit changes the way files are loaded. Instead of being 'require'd and 'provide'd, they are simply 'load'ed, having a positive impact on performance and code quality. Additionally, the headings of file (which thus far have began with three semicolons) now begin with two to fit Emacs lisp conventions.
10 lines
311 B
EmacsLisp
10 lines
311 B
EmacsLisp
;; This file improves the performance of Emacs, startup or otherwise
|
|
|
|
;; Reduce garbage collection at startup
|
|
(setq gc-cons-threshold most-positive-fixnum)
|
|
|
|
;; Lower threshold back to 8 MiB (default is 800kB)
|
|
(add-hook 'emacs-startup-hook
|
|
(lambda ()
|
|
(setq gc-cons-threshold (expt 2 23))))
|