Subject: [PATCH 2/4] gnu: Add emacs-restart-emacs.

From: "Alex Griffin" <[email-masked]>
Date: Sun, 09 Jun 2019 14:10:56 +0000

This patch adds emacs-restart-emacs, an Emacs package that provides a command to restart Emacs.
-- 
Alex Griffin

From 738315f7907d5415d6229cb6905380e0bc09e5c5 Mon Sep 17 00:00:00 2001
From: Alex Griffin <[email-masked]>
Date: Sun, 9 Jun 2019 09:00:48 -0500
Subject: [PATCH 2/4] gnu: Add emacs-restart-emacs.

* gnu/packages/emacs-xyz.scm (emacs-restart-emacs): New variable.
---
 gnu/packages/emacs-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index c1283f1ffd..d1eb877010 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -10629,6 +10629,27 @@ macro takes a first argument (whose value must be an alist) and a body.")
 your Emacs.")
       (license license:gpl2+))))
 
+(define-public emacs-restart-emacs
+  (package
+    (name "emacs-restart-emacs")
+    (version "20180601.1031")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append
+               "https://melpa.org/packages/restart-emacs-"
+               version
+               ".el"))
+        (sha256
+          (base32
+            "1rpn1881xrgm17hd33ngpzl9wn22f43h5n7d8zf57089hc1lzvrb"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/iqbalansari/restart-emacs")
+    (synopsis "Restart Emacs from within Emacs")
+    (description "This package provides a simple command to restart Emacs from
+within Emacs.")
+    (license license:gpl3+)))
+
 (define-public emacs-sourcemap
   (package
     (name "emacs-sourcemap")
-- 
2.22.0