aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/lisp
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2023-12-03 23:16:36 +1100
committerYuchen Pei <id@ypei.org>2023-12-03 23:16:36 +1100
commit855a412061bc119dbc618158290745dd3b8664f6 (patch)
tree15add77c3d897407438971f18ec9d5f90a51ce6d /emacs/.emacs.d/lisp
parent334a5e7a5b99dc4b1ffbe9eb5240c453e62885b1 (diff)
[emacs] flymake lint yolo.el
Diffstat (limited to 'emacs/.emacs.d/lisp')
-rw-r--r--emacs/.emacs.d/lisp/my/yolo.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/emacs/.emacs.d/lisp/my/yolo.el b/emacs/.emacs.d/lisp/my/yolo.el
index 7fa4d3b..c40b939 100644
--- a/emacs/.emacs.d/lisp/my/yolo.el
+++ b/emacs/.emacs.d/lisp/my/yolo.el
@@ -22,10 +22,10 @@
;;; Commentary:
-;; Serving emacs, no security.
+;; Serving Emacs, no security.
;; usage: eval
;; (yolo-start)
-;; open your browser, the following displays the emacs splash screen
+;; open your browser, the following displays the Emacs splash screen
;; localhost:9999
;;; Code:
@@ -37,7 +37,7 @@
(defvar yolo-port 9999 "The yolo port.")
(defun yolo-serve (buffer)
- "Serve buffer with htmlize."
+ "Serve BUFFER with htmlize."
(setq buffer (substring (url-unhex-string buffer) 1))
(when (string-empty-p buffer)
(setq buffer "*GNU Emacs*")
@@ -52,7 +52,7 @@
;;;###autoload
(defun yolo-start ()
- "Start serving emacs."
+ "Start serving Emacs."
(when yolo-server (yolo-stop))
(setq yolo-server
(ws-start
@@ -66,7 +66,7 @@
yolo-port)))
(defun yolo-stop ()
- "Stop serving emacs."
+ "Stop serving Emacs."
(ws-stop yolo-server))
(provide 'yolo)