Try to fix name clash in emacs 29

This work around is taken from dalanicolai's comment on #15505.
It tries to circumvent a name clash between the emacs package
"restart-emacs" and emacs 29 which introduced a function called
"restart-emacs".

The workaround is to load the package after the emacs file
module has been loaded.
This commit is contained in:
Maxi Wolff 2022-06-11 14:24:24 +02:00
parent 44a032b615
commit c41bb1406b
No known key found for this signature in database
GPG Key ID: 2DD07025BFDBD89A
1 changed files with 1 additions and 0 deletions

View File

@ -368,6 +368,7 @@
(defun spacemacs-navigation/init-restart-emacs ()
(use-package restart-emacs
:defer t
:after files
:init
(spacemacs/set-leader-keys
"qd" 'spacemacs/restart-emacs-debug-init