diff options
author | Amin Bandali <bandali@gnu.org> | 2019-01-25 23:40:18 -0500 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2019-01-25 23:40:18 -0500 |
commit | fdbe9b15818c5a45336ec513f1b6c76b357e000b (patch) | |
tree | f95d35ccc5d741ee690ba78eda061759b4c8f907 | |
parent | e960f55efa2db50438680779a3abbea2dbe96ff8 (diff) | |
download | configs-fdbe9b15818c5a45336ec513f1b6c76b357e000b.tar.gz configs-fdbe9b15818c5a45336ec513f1b6c76b357e000b.tar.xz configs-fdbe9b15818c5a45336ec513f1b6c76b357e000b.zip |
[emacs] move a/byte-compiled-init below the header
-rw-r--r-- | init.org | 25 |
1 files changed, 19 insertions, 6 deletions
@@ -33,6 +33,9 @@ few months, but decided to try =straight.el= which allows direct use of the various package archives. ** Installation +:PROPERTIES: +:CUSTOM_ID: installation +:END: To use this config for your Emacs, first you need to clone this repo, then tangle =init.org= into =init.el=, and optionally byte-compile @@ -46,12 +49,7 @@ cd ~/.emacs.d #+end_src Then, decide if you would like to use a byte-compiled init file, and -set the following variable accordingly: - -#+begin_src emacs-lisp -(defvar a/byte-compiled-init t - "If non-nil, byte-(re)compile init.el on successful tangles.") -#+end_src +set the [[#byte-compiled-init][a/byte-compiled-init]] variable accordingly. Now, first tangle =init.org=, and only if you chose to have a byte-compiled init, build init as well: @@ -139,6 +137,21 @@ file. :CUSTOM_ID: initial-setup :END: +** Byte-compiled init preference +:PROPERTIES: +:CUSTOM_ID: byte-compiled-init +:END: + +If you would like a byte-compiled init file, set the following +variable to ~t~, otherwise set it to ~nil~. + +#+begin_src emacs-lisp +(defvar a/byte-compiled-init t + "If non-nil, byte-(re)compile init.el on successful tangles.") +#+end_src + +You can click on [[#installation][Installation]] to jump back up there if you like :) + ** Emacs initialization I'd like to do a couple of measurements of Emacs' startup time. First, |