doom-emacs/lisp
Henrik Lissner f748b9778a
fix(cli): ensure $EMACSDIR/lisp/cli is in $DOOMPATH
If $DOOMPATH is malformed or set to a value that does not contain a
valid path to Doom's CLI library in $EMACSDIR/lisp/cli (see #7608),
bin/doom no longer functions, emitting "a subcommand is required"
errors.

This change ensures that the CLI library is always the last (implicit)
element in doom-cli-load-path, and ensures $DOOMPATH is never written to
the user's envvar file (in case they try to use bin/doom from inside a
terminal within a Doom Emacs session), which should ensure users -- at
least -- never find themselves stranded without the Doom CLI.

Fix: #7608
Co-authored-by: bpizzi <bpizzi@users.noreply.github.com>
2024-05-21 17:16:43 +02:00
..
cli fix(cli): ensure $EMACSDIR/lisp/cli is in $DOOMPATH 2024-05-21 17:16:43 +02:00
lib refactor: s/doom-modules-dirs/doom-module-load-path/ 2024-05-21 17:16:39 +02:00
demos.org refactor(emacs-lisp): elisp-demos: reorganize Doom demos 2024-05-21 17:16:37 +02:00
doom-cli.el fix(cli): ensure $EMACSDIR/lisp/cli is in $DOOMPATH 2024-05-21 17:16:43 +02:00
doom-editor.el tweak: helpful-set-variable-function: use setq! 2024-05-21 17:16:21 +02:00
doom-keybinds.el refactor!: deprecate IS-* OS constants 2024-05-21 17:16:36 +02:00
doom-lib.el fix(lib): appease byte-compiler-sama 2024-05-21 17:16:31 +02:00
doom-modules.el fix: void-variable doom-modules-load-path error 2024-05-21 17:16:43 +02:00
doom-packages.el nit: general reformatting & minor comment revision 2024-05-21 17:15:54 +02:00
doom-profiles.el refactor: s/doom-modules-dirs/doom-module-load-path/ 2024-05-21 17:16:39 +02:00
doom-projects.el refactor!: deprecate IS-* OS constants 2024-05-21 17:16:36 +02:00
doom-start.el refactor!: deprecate IS-* OS constants 2024-05-21 17:16:36 +02:00
doom-ui.el fix: premature use of emoji fontset in <=28.1 2024-05-21 17:16:21 +02:00
doom.el nit: fix s/make/bake typo 2024-05-21 17:16:37 +02:00
init.el fix: add :depth field to modules 2022-09-24 18:46:21 +02:00
packages.el refactor: remove all-the-icons 2024-05-21 17:16:42 +02:00