From a83e754fd56526c5dc841a5b8d47cf7d59ed9ebf Mon Sep 17 00:00:00 2001 From: Blendoit Date: Tue, 6 Oct 2020 21:31:58 -0700 Subject: early-init.el like https://is.gd/FGGyUb --- .gitignore | 5 ++--- early-init.el | 4 ++++ smart-documents.org | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 early-init.el diff --git a/.gitignore b/.gitignore index d7dc875..6007841 100644 --- a/.gitignore +++ b/.gitignore @@ -4,7 +4,6 @@ secret* # .org => .el => .elc -*.el *.elc # These directories are populated on config execution. @@ -15,8 +14,8 @@ auto-save-list/** transient/** _minted* -# Tangled config .el file from .org -smart-documents.el +# Tangled config .el and .elc file from .org +smart-documents.el* # Misc .org-id-locations diff --git a/early-init.el b/early-init.el new file mode 100644 index 0000000..137638d --- /dev/null +++ b/early-init.el @@ -0,0 +1,4 @@ +(menu-bar-mode -1) +(tool-bar-mode -1) +(menu-bar-bottom-and-right-window-divider) +(setq gc-cons-threshold 100000000) diff --git a/smart-documents.org b/smart-documents.org index 242873d..f62c39d 100644 --- a/smart-documents.org +++ b/smart-documents.org @@ -64,7 +64,7 @@ element. #+BEGIN_SRC emacs-lisp (defun my/tokenize-user-details () "Tokenize user details." - + (cons 'user-full-name user-full-name)) (unless (file-exists-p (concat user-emacs-directory -- cgit v1.2.3