Add restart-emacs package & commands

This commit is contained in:
Henrik Lissner 2018-05-13 23:16:06 +02:00
parent d1068723e4
commit 0bd88b8414
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
5 changed files with 22 additions and 1 deletions

View file

@ -425,6 +425,12 @@ the next."
(t (+workspace-error "Can't delete last workspace" t)))))))
;;;###autoload
(defun +workspace/restart-emacs-then-restore ()
"Restarts Emacs, then restores the session."
(interactive)
(restart-emacs (list "--restore")))
;;
;; Tabs display in minibuffer