projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e960f55
)
[emacs] move a/byte-compiled-init below the header
author
Amin Bandali
<bandali@gnu.org>
Sat, 26 Jan 2019 04:40:18 +0000
(23:40 -0500)
committer
Amin Bandali
<bandali@gnu.org>
Sat, 26 Jan 2019 04:40:18 +0000
(23:40 -0500)
init.org
patch
|
blob
|
blame
|
history
diff --git
a/init.org
b/init.org
index
2cd7564
..
6877be2
100644
(file)
--- 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
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
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
#+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:
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:
: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,
** Emacs initialization
I'd like to do a couple of measurements of Emacs' startup time. First,