mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-14 15:46:56 -05:00
To understand what's going on here, understand this: this is a regular CLI command: (defcli! (doom sync) () ...) And this is a pseudo command: (defcli! (:before doom sync) () ...) If a pseudo command is aliased to another pseudo command: (defcli! (:before doom (foo bar baz)) ...) In which case, ':before doom bar' and ':before doom baz' are aliases for ':before doom foo', there was a bug that cut out the keyword, so in actuality, ':before doom {bar,baz}' were aliased to 'doom bar'. This fixes that, and the peculiar issue of 'doom purge' executing 'doom build' due to this, living in core/cli/packages.el: (defcli! (:before (build b purge p)) (&context context) (require 'comp nil t) (doom-initialize-core-packages)) Ref: https://github.com/doomemacs/doomemacs/issues/4273#issuecomment-1159610824