This is my config file. As you can see, on line 351, there is:
;; Update my Emacs' packages every week
(use-package auto-package-update
:custom
(auto-package-update-interval 7)
(auto-package-update-prompt-before-update t)
(auto-package-update-hide-results t)
:config
(auto-package-update-maybe)
(auto-package-update-at-time "09:00"))
After starting Emacs, the mini-buffer asked me about updating the packages earlier today. I chose "yes".
Usually, things are updated and work fine. However, this was not the case today.
After everything was processed, Emacs indicated the upgrade process went fine. So, I decided to re-start Emacs. And now Emacs was loading with the following error messages:
Error (use-package): doom-modeline/:init: Symbol’s function definition is void: compat--inhibit-prefixed
Error (use-package): doom-modeline/:catch: Symbol’s function definition is void: compat--inhibit-prefixed
Indeed, the modeline
was not working. After a bit, I realized that doom-mode was not the only problem.
When I try to use Magit via command magit-status
, I get:
byte-code: Symbol’s function definition is void: compat--inhibit-prefixed
I managed to solve the error message related to the doom-modeline
by simply commenting the lines on my config "use-packaging" it:
;; (use-package doom-modeline
;; :init (doom-modeline-mode 1)
;; :custom ((doom-modeline-height 15)))
The error message was out when starting Emacs. But, for obvious reason, it is still not working after being commented out. I can live without this package.
The magit problem persists. And this is really annoying because I can't live without this package.
How should I proceed?
Any suggestion on how to debug the problem?
Is there a way to downgrade the last changes generated by auto-package-update?
Any clue on how to solve things?