about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config.org16
1 files changed, 16 insertions, 0 deletions
diff --git a/config.org b/config.org index 0bcb298..b1c138b 100644 --- a/config.org +++ b/config.org
@@ -1413,6 +1413,14 @@ from [[https://karthinks.com/software/more-batteries-included-with-emacs/#regexp
1413 ;; init.el -*- lexical-binding: t -*- 1413 ;; init.el -*- lexical-binding: t -*-
1414 #+end_src 1414 #+end_src
1415 1415
1416**** Speed up init
1417
1418#+begin_src emacs-lisp
1419 (setq gc-cons-threshold most-positive-fixnum)
1420 (defvar old-file-name-handler file-name-handler-alist)
1421 (setq file-name-handler-alist nil)
1422#+end_src
1423
1416**** Load config 1424**** Load config
1417 1425
1418 inspired by [[https://protesilaos.com/dotemacs/#h:584c3604-55a1-49d0-9c31-abe46cb1f028][Protesilaos Stavrou]]. 1426 inspired by [[https://protesilaos.com/dotemacs/#h:584c3604-55a1-49d0-9c31-abe46cb1f028][Protesilaos Stavrou]].
@@ -1428,6 +1436,14 @@ from [[https://karthinks.com/software/more-batteries-included-with-emacs/#regexp
1428 (org-babel-load-file conf-org))) 1436 (org-babel-load-file conf-org)))
1429 #+end_src 1437 #+end_src
1430 1438
1439**** Reset for normal operation
1440
1441#+begin_src emacs-lisp
1442 (setq gc-cons-threshold 16777216 ; 16mb
1443 gc-cons-percentage 0.1
1444 file-name-handler-alist old-file-name-handler)
1445#+end_src
1446
1431*** early-init.el 1447*** early-init.el
1432 :PROPERTIES: 1448 :PROPERTIES:
1433 :header-args: :tangle early-init.el 1449 :header-args: :tangle early-init.el