mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-01-18 23:21:22 -08:00
I use a shortcut like this to autoload multiple (different) CLIs living
in the same file:
(defautoload! ((foo bar baz)) "file")
However, this creates premature aliases between autoloaded CLIs. When
'baz' is invoked, instead of loading "file", it resolves to 'foo'
first *then* loads it, causing 'foo' to be executed instead of 'baz'.
This commit fixes that.
Also, minor refactor: I removed the plist argument from a
doom-cli-command-normalize call because it wasn't needed or useful to
the consumer of its return value.
Amend:
|
||
|---|---|---|
| .. | ||
| autoload | ||
| cli | ||
| templates | ||
| test | ||
| core-cli-lib.el | ||
| core-cli.el | ||
| core-editor.el | ||
| core-keybinds.el | ||
| core-lib.el | ||
| core-modules.el | ||
| core-packages.el | ||
| core-projects.el | ||
| core-start.el | ||
| core-ui.el | ||
| core.el | ||
| packages.el | ||