From 1767b5ec7d98b2c2db9c1476273960223f8f2d41 Mon Sep 17 00:00:00 2001 From: dx Date: Thu, 11 Jun 2020 01:20:51 +0100 Subject: ~byte compile config.el and all other files gotta go fast (except for packages.org) --- .gitignore | 1 + Doom/.doom.d/config.el | 2 +- Doom/.doom.d/org/config.org | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 62cde3f..f7a40ba 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ ncmpcpp/* Emacs/.config/emacs/transient/* Emacs/.config/emacs/straight/* /Doom/.doom.d/org/*.el +*.elc diff --git a/Doom/.doom.d/config.el b/Doom/.doom.d/config.el index 4f1bb94..a72fe68 100644 --- a/Doom/.doom.d/config.el +++ b/Doom/.doom.d/config.el @@ -1,3 +1,3 @@ ;;; ~/Dotfiles/doom.d/config.el -*- lexical-binding: t; -*- -(org-babel-load-file (concat doom-private-dir "org/config.org")) +(org-babel-load-file (concat doom-private-dir "org/config.org") t) diff --git a/Doom/.doom.d/org/config.org b/Doom/.doom.d/org/config.org index 396b889..9964ee1 100644 --- a/Doom/.doom.d/org/config.org +++ b/Doom/.doom.d/org/config.org @@ -18,7 +18,7 @@ Declare variable for org files I want to compile Then just iterate and load them via =org-babel-load-file=. #+BEGIN_SRC elisp -(cl-loop for file in dx:literate/org-files do (org-babel-load-file (concat doom-private-dir "org/" file))) +(cl-loop for file in dx:literate/org-files do (org-babel-load-file (concat doom-private-dir "org/" file) t)) #+END_SRC ** Doom Variables - Set the doom localleader to "," because it's faster -- cgit v1.2.3-13-gbd6f