doomemacs/core
Henrik Lissner 834ff3ea85
fix(cli): autoloaded clis aliased to wrong commands
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: d226946f59
2022-06-22 02:27:34 +02:00
..
autoload fix(lib): restart-emacs name collision on Emacs 29+ 2022-06-22 01:10:07 +02:00
cli refactor!(lib): rename fn!->lambda! & fn!!->fn! 2022-06-21 21:29:08 +02:00
templates bump: :core 2022-06-17 18:21:23 +02:00
test core-cli: backport more refactors from rewrite 2020-08-24 23:00:32 -04:00
core-cli-lib.el fix(cli): autoloaded clis aliased to wrong commands 2022-06-22 02:27:34 +02:00
core-cli.el nit: minor refactors & comment/docstring revisions 2022-06-21 14:40:15 +02:00
core-editor.el fix: find-function-search-for-symbol moving cursor 2022-06-04 15:02:06 +02:00
core-keybinds.el fix: wrong-type-arg error on startup 2021-10-20 22:06:25 +02:00
core-lib.el perf(lib): factor seq out of fn! & bake in lookup table 2022-06-21 23:27:19 +02:00
core-modules.el fix: :load-path throwing error in org-src blocks 2022-04-08 02:51:50 +02:00
core-packages.el fix: allow :protocol keyword in package! 2022-06-20 19:09:50 +02:00
core-projects.el refactor: remove custom projectile-mode-line-function 2022-06-18 16:57:17 +02:00
core-start.el refactor: how Doom starts up 2022-06-18 16:54:45 +02:00
core-ui.el refactor: how Doom starts up 2022-06-18 16:54:45 +02:00
core.el refactor: how Doom starts up 2022-06-18 16:54:45 +02:00
packages.el bump: :core 2022-06-17 18:21:23 +02:00