summaryrefslogtreecommitdiff
path: root/ennu.el
diff options
context:
space:
mode:
Diffstat (limited to 'ennu.el')
-rw-r--r--ennu.el5
1 files changed, 5 insertions, 0 deletions
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)