reddit / emacs

[all-the-fonts-ivy] install problem

wwwfff0 · 2022-03-04 18:25
\*FIXED So i install all-the-fonts-ivy with M - x package-install and add the following to my .doom.d/config.el `(use-package all-the-icons-ivy` `:init (all-the-icons-ivy-setup)` `)` I have tryed my variations of this but it just throws this error when i doom sync.: Warning (initialization): An error occurred while loading ‘/home/<user>/.emacs.d/init.el’: Error in private config: config.el, (void-function all-the-icons-ivy-setup) To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the ‘--debug-init’ option to view a complete error backtrace.
franburstall · 2022-03-04 19:13
You want something like: (use-package all-the-icons-ivy :config (all-the-icons-ivy-setup)) The `:init` part fires before the package is loaded hence the error.
wwwfff0 · 2022-03-04 20:11
Thanks that solved the error