aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2020-03-13 21:17:42 +0530
committerArun Isaac2020-03-13 21:17:42 +0530
commitc3c4a17b09f695ed5474918747238ffc70cde5d9 (patch)
treeeca541b759761a1e79c87f149633c66cf26268db
parent761a84bda8a43d18c149213a93c18d88891da916 (diff)
downloadennum-c3c4a17b09f695ed5474918747238ffc70cde5d9.tar.gz
ennum-c3c4a17b09f695ed5474918747238ffc70cde5d9.tar.lz
ennum-c3c4a17b09f695ed5474918747238ffc70cde5d9.zip
Provide ennu web server stop command.
* ennu.el (ennu-server-start): New function.
-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)