General, minor refactor & feedback revision
This commit is contained in:
parent
f44ebbb7ed
commit
04ec62c8f2
6 changed files with 15 additions and 14 deletions
|
@ -632,10 +632,12 @@ If MODULES is specified (a list of module strings, e.g. \"lang/php\"), those are
|
||||||
byte-compiled. Otherwise, all enabled modules are byte-compiled, including Doom
|
byte-compiled. Otherwise, all enabled modules are byte-compiled, including Doom
|
||||||
core. It always ignores unit tests and files with `no-byte-compile' enabled.
|
core. It always ignores unit tests and files with `no-byte-compile' enabled.
|
||||||
|
|
||||||
Doom was designed to benefit from byte-compilation, but the process may take a
|
WARNING: byte-compilation yields marginal gains and makes debugging new issues
|
||||||
while. Also, while your config files are byte-compiled, changes to them will not
|
difficult. It is recommended you don't use it unless you understand the
|
||||||
take effect! Use `doom//clean-byte-compiled-files' or `make clean' to remove
|
reprecussions.
|
||||||
these files.
|
|
||||||
|
Use `doom//clean-byte-compiled-files' or `make clean' to reverse
|
||||||
|
byte-compilation.
|
||||||
|
|
||||||
If RECOMPILE-P is non-nil, only recompile out-of-date files."
|
If RECOMPILE-P is non-nil, only recompile out-of-date files."
|
||||||
(interactive
|
(interactive
|
||||||
|
|
|
@ -274,8 +274,7 @@ to least)."
|
||||||
(defmacro def-package! (name &rest plist)
|
(defmacro def-package! (name &rest plist)
|
||||||
"A thin wrapper around `use-package'."
|
"A thin wrapper around `use-package'."
|
||||||
;; Ignore package if NAME is in `doom-disabled-packages'
|
;; Ignore package if NAME is in `doom-disabled-packages'
|
||||||
(when (and (memq name (bound-and-true-p doom-disabled-packages))
|
(when (memq name (bound-and-true-p doom-disabled-packages))
|
||||||
(not (memq :disabled plist)))
|
|
||||||
(setq plist `(:disabled t ,@plist)))
|
(setq plist `(:disabled t ,@plist)))
|
||||||
;; If byte-compiling, ignore this package if it doesn't meet the condition.
|
;; If byte-compiling, ignore this package if it doesn't meet the condition.
|
||||||
;; This avoids false-positive load errors.
|
;; This avoids false-positive load errors.
|
||||||
|
|
|
@ -227,8 +227,7 @@ elsewhere."
|
||||||
doom-private-dir)
|
doom-private-dir)
|
||||||
(setq plist (plist-put plist :private t)))
|
(setq plist (plist-put plist :private t)))
|
||||||
`(progn
|
`(progn
|
||||||
,(when (and pkg-pin t)
|
,(if pkg-pin `(map-put package-pinned-packages ',name ,pkg-pin))
|
||||||
`(map-put package-pinned-packages ',name ,pkg-pin))
|
|
||||||
(map-put doom-packages ',name ',plist)
|
(map-put doom-packages ',name ',plist)
|
||||||
(not (memq ',name doom-disabled-packages)))))
|
(not (memq ',name doom-disabled-packages)))))
|
||||||
|
|
||||||
|
|
|
@ -174,6 +174,7 @@ this, you'll get stuttering and random freezes) and resets
|
||||||
history-length 500
|
history-length 500
|
||||||
make-backup-files nil ; don't create backup~ files
|
make-backup-files nil ; don't create backup~ files
|
||||||
;; `use-package'
|
;; `use-package'
|
||||||
|
use-package-compute-statistics doom-debug-mode
|
||||||
use-package-verbose doom-debug-mode
|
use-package-verbose doom-debug-mode
|
||||||
use-package-minimum-reported-time (if doom-debug-mode 0 0.1)
|
use-package-minimum-reported-time (if doom-debug-mode 0 0.1)
|
||||||
;; byte compilation
|
;; byte compilation
|
||||||
|
|
|
@ -3,7 +3,7 @@ Before you doom yourself, there are a few things you should know:
|
||||||
1. If you use GUI Emacs, run `M-x all-the-icons-install-fonts` so you don't get
|
1. If you use GUI Emacs, run `M-x all-the-icons-install-fonts` so you don't get
|
||||||
weird symbols all over the place.
|
weird symbols all over the place.
|
||||||
|
|
||||||
2. When you edit ~/.doom.d/init.el or modify modules, run:
|
2. Whenever you edit ~/.doom.d/init.el or modify modules, run:
|
||||||
|
|
||||||
bin/doom refresh
|
bin/doom refresh
|
||||||
|
|
||||||
|
@ -15,8 +15,8 @@ Before you doom yourself, there are a few things you should know:
|
||||||
|
|
||||||
bin/doom doctor
|
bin/doom doctor
|
||||||
|
|
||||||
It will diagnose common issues with your environment and setup, and may give
|
This will diagnose common issues with your environment and setup, and may
|
||||||
you clues about what is wrong.
|
give you clues about what is wrong.
|
||||||
|
|
||||||
4. To update doom, run
|
4. To update doom, run
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ Before you doom yourself, there are a few things you should know:
|
||||||
|
|
||||||
Doing it any other way will require you run `bin/doom refresh` otherwise,
|
Doing it any other way will require you run `bin/doom refresh` otherwise,
|
||||||
|
|
||||||
5. Check out `bin/doom help` to see what else it can do (it is also safe to add
|
5. Check out `bin/doom help` to see what else it can do (it is recommended you
|
||||||
~/.emacs.d/bin to your PATH).
|
add ~/.emacs.d/bin to your PATH).
|
||||||
|
|
||||||
Have fun!
|
Have fun!
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
;unicode ; extended unicode support for various languages
|
;unicode ; extended unicode support for various languages
|
||||||
vi-tilde-fringe ; fringe tildes to mark beyond EOB
|
vi-tilde-fringe ; fringe tildes to mark beyond EOB
|
||||||
window-select ; visually switch windows
|
window-select ; visually switch windows
|
||||||
|
|
||||||
:editor
|
:editor
|
||||||
;parinfer ; turn lisp into python, sort of
|
;parinfer ; turn lisp into python, sort of
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue