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

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

[nongnu] elpa/focus 284a1240ce 33/82: Cleaned up doc in `focus-average-c


From: ELPA Syncer
Subject: [nongnu] elpa/focus 284a1240ce 33/82: Cleaned up doc in `focus-average-colors'
Date: Tue, 6 Sep 2022 04:58:56 -0400 (EDT)

branch: elpa/focus
commit 284a1240ce21e2e7ce658b2ee603861064910fe6
Author: Lars Tveito <larstvei@ifi.uio.no>
Commit: Lars Tveito <larstvei@ifi.uio.no>

    Cleaned up doc in `focus-average-colors'
---
 focus.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/focus.el b/focus.el
index 32d409389a..fa22c87386 100644
--- a/focus.el
+++ b/focus.el
@@ -96,7 +96,10 @@ Things that are defined include `symbol', `list', `sexp',
     (bounds-of-thing-at-point thing)))
 
 (defun focus-average-colors (color &rest colors)
-  "Takes one or more COLORS and returns the average of the RGB-values."
+  "Takes an average of the colors given by argument.
+Argument COLOR is a color name, and so are the COLORS; COLOR is
+there to ensure that the the function receives at least one
+argument."
   (let* ((colors (cons color colors))
          (colors (mapcar 'color-name-to-rgb colors))
          (len    (length colors))



reply via email to

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