Add chemacs support to doom/restart-and-restore
This commit is contained in:
parent
a4653f475b
commit
10f29bffde
1 changed files with 5 additions and 1 deletions
|
@ -131,4 +131,8 @@
|
||||||
(setq doom-autosave-session nil)
|
(setq doom-autosave-session nil)
|
||||||
(doom/quicksave-session)
|
(doom/quicksave-session)
|
||||||
(restart-emacs
|
(restart-emacs
|
||||||
(delq nil (list (if debug "--debug-init") "--restore"))))
|
(delq
|
||||||
|
nil (append (if debug (list "--debug-init"))
|
||||||
|
(when (boundp 'chemacs-current-emacs-profile)
|
||||||
|
(list "--with-profile" chemacs-current-emacs-profile))
|
||||||
|
(list "--restore")))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue