From c3c4a17b09f695ed5474918747238ffc70cde5d9 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 13 Mar 2020 21:17:42 +0530 Subject: Provide ennu web server stop command. * ennu.el (ennu-server-start): New function. --- ennu.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ennu.el b/ennu.el index c14f7b3..69e8a93 100644 --- a/ennu.el +++ b/ennu.el @@ -492,4 +492,9 @@ as keys. Keys are compared using `equal'." (_ (httpd-serve-root proc httpd-root (concat uri-path ".html") request))))) (httpd-start)) +(defun ennu-server-stop () + (interactive) + (httpd-stop) + (message "Ennu web server stopped")) + (provide 'ennu) -- cgit v1.2.3