Commit Graph

7 Commits

Author SHA1 Message Date
Henrik Lissner
017ba8d79c
Autoload defhydras & use new naming convention
Phasing out the +module@name convention for plain old
+module-name-hydra, which is more compatible with elisp reflection tools
like describe-function and such.

Also, Emacs starts up faster now. Tee hee.
2018-06-26 01:43:54 +02:00
Henrik Lissner
09cb4f6716
Major refactor & optimization of how modules load their packages
Now that we are loading package autoloads files (as part of the
generated doom-package-autoload-file when running make autoloads), many
:commands properties are redundant. In fact, many def-package! blocks
are redundant.

In some cases, we can do without a config.el file entirely, and can move
into the autoloads file or rely entirely on package autoloads.

Also, many settings have been moved in their module's autoloads files,
which makes them available ASAP; their use no longer depends on module
load order.

This gained me a modest ~10% boost in startup speed.
2018-05-25 00:46:16 +02:00
Henrik Lissner
0b48575c14
Remove def-hydra! macro alias
Causes byte-compilation issues and the alias is unnecessary.
2018-05-24 22:03:19 +02:00
Henrik Lissner
597bfb1a3c
Move feature/hydra into core-keybinds 2017-09-24 17:10:47 +02:00
Henrik Lissner
7b9a2c850d
Remove unnecessary require 'hydra 2017-08-09 14:52:48 +02:00
Henrik Lissner
c3275a7809
rainbow-mode: don't activate on prog-mode-hook
That is too aggressive. Not sure what a more reasonable default should
be though.
2017-08-09 14:52:48 +02:00
Benjamin Andresen
32bccfa857 Add: tools/rgb: initial commit (rainbow-mode + kurecolor) 2017-07-16 15:02:24 +02:00