emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/moe-theme 17fd13780c 218/352: More explicit documentation


From: ELPA Syncer
Subject: [nongnu] elpa/moe-theme 17fd13780c 218/352: More explicit documentation for functions.
Date: Fri, 7 Jan 2022 03:59:25 -0500 (EST)

branch: elpa/moe-theme
commit 17fd13780c8f771431c09ff6a446c80f76a72e86
Author: kuanyui <azazabc123@gmail.com>
Commit: kuanyui <azazabc123@gmail.com>

    More explicit documentation for functions.
---
 moe-theme.el | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/moe-theme.el b/moe-theme.el
index caa7f83b84..71a105c339 100644
--- a/moe-theme.el
+++ b/moe-theme.el
@@ -378,8 +378,9 @@ Don't setq this manually.")
 ;; Powerline
 
 (defun moe-theme-set-color (color)
-  "Set the COLOR of mode-line you like. (Notice: we support
-Powerline :D) You may also like `moe-theme-random-color'"
+  "Set the COLOR of mode-line you like. You may also like
+`moe-theme-random-color' This should be called
+programmly (e.g. in init.el), not interactively."
   (setq moe-theme-mode-line-color
                color)
     (let (moe-theme-revert-theme) ;set to nil to change only mode-line's color
@@ -390,8 +391,9 @@ Powerline :D) You may also like `moe-theme-random-color'"
       (powerline-moe-theme)))
 
 (defun moe-theme-select-color ()
-  "Select the color of mode-line you like and set it. (Notice: we
-support Powerline :D) You may also like `moe-theme-random-color'"
+  "Interactively select the color of mode-line you like and set
+it. (Notice: we support Powerline :D) You may also like
+`moe-theme-random-color'"
   (interactive)
   (moe-theme-set-color (intern (completing-read
                  "Select a color: "
@@ -399,7 +401,8 @@ support Powerline :D) You may also like 
`moe-theme-random-color'"
                  nil t "" nil nil t))))
 
 (defun moe-theme-random-color ()
-  "Give me a random mode-line color.=w=+"
+  "Give me a random mode-line color.=w=+
+This function can be called both programmly and interactively."
   (interactive)
   (let* ((n (abs (% (random) 9)))
          (current-color moe-theme-mode-line-color)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]