Allow restart-emacs to work with persistent-server
Allow `restart-emacs` to work when `dotspacemacs-persistent-server` is enabled.
This commit is contained in:
parent
a16e170a41
commit
2a2505de49
|
@ -1298,7 +1298,11 @@ ARG non nil means that the editing style is `vim'."
|
||||||
(use-package restart-emacs
|
(use-package restart-emacs
|
||||||
:defer t
|
:defer t
|
||||||
:init
|
:init
|
||||||
(evil-leader/set-key "qr" 'restart-emacs)))
|
(evil-leader/set-key "qr" 'spacemacs/restart-emacs)
|
||||||
|
(defun spacemacs/restart-emacs ()
|
||||||
|
(interactive)
|
||||||
|
(setq spacemacs-really-kill-emacs t)
|
||||||
|
(restart-emacs))))
|
||||||
|
|
||||||
(defun spacemacs-base/init-savehist ()
|
(defun spacemacs-base/init-savehist ()
|
||||||
(use-package savehist
|
(use-package savehist
|
||||||
|
|
Loading…
Reference in a new issue