Closed haji-ali closed 2 years ago
Unfortunately, there is no general mechanism for doing this at present. I think a reasonable way to do it would be, for each such package, introduce a user option analogous to radian-color-theme-enable
(which currently does what you describe for zerodark-theme
). It might be desirable to do it this way, in fact, because by curating the set of user options, we can make sure that disabling a package also disables all dependent packages and other configuration that might break when the package is disabled.
Yeah, I think a variable like radian-features
containing a list of packages that Radian can use, and corresponding :if
statements in all the use-package
and use-feature
statements would do the trick.
That sounds reasonable. I like the idea of a list more than individual variables, I think.
Can we close this now?
Is there a way to disable packages that Radian loads without modifying Radian?
For example, I want to disable
undo-tree
(too buggy) and use the simplerundo-fu
in my config. It would be even better if I can set up Radian so as not to clone/buildundo-tree
at all.(PS: Sorry for the many questions. I am switching my setup to use more "pure" Emacs packages like
selectrum
,ctrlf
,embark
andconsult
, and I appreciate that Radian makes it easy.)