summaryrefslogtreecommitdiffstats
path: root/init.org
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-01-25 23:40:18 -0500
committerAmin Bandali <bandali@gnu.org>2019-01-25 23:40:18 -0500
commitfdbe9b15818c5a45336ec513f1b6c76b357e000b (patch)
treef95d35ccc5d741ee690ba78eda061759b4c8f907 /init.org
parente960f55efa2db50438680779a3abbea2dbe96ff8 (diff)
downloadconfigs-fdbe9b15818c5a45336ec513f1b6c76b357e000b.tar.gz
configs-fdbe9b15818c5a45336ec513f1b6c76b357e000b.tar.xz
configs-fdbe9b15818c5a45336ec513f1b6c76b357e000b.zip
[emacs] move a/byte-compiled-init below the header
Diffstat (limited to 'init.org')
-rw-r--r--init.org25
1 files changed, 19 insertions, 6 deletions
diff --git a/init.org b/init.org
index 2cd7564..6877be2 100644
--- a/init.org
+++ b/init.org
@@ -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,