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

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

[elpa] externals/rainbow-mode 313f105 15/26: Fix `rainbow-color-luminanc


From: Stefan Monnier
Subject: [elpa] externals/rainbow-mode 313f105 15/26: Fix `rainbow-color-luminance' docstring
Date: Tue, 1 Dec 2020 16:53:20 -0500 (EST)

branch: externals/rainbow-mode
commit 313f105026d0ba7a3f6c0e9ee7e991bf3acabaf5
Author: Julien Danjou <julien@danjou.info>
Commit: Julien Danjou <julien@danjou.info>

    Fix `rainbow-color-luminance' docstring
---
 rainbow-mode.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rainbow-mode.el b/rainbow-mode.el
index 15ae91c..ddd9a94 100644
--- a/rainbow-mode.el
+++ b/rainbow-mode.el
@@ -1,10 +1,10 @@
 ;;; rainbow-mode.el --- Colorize color names in buffers
 
-;; Copyright (C) 2010-2015 Free Software Foundation, Inc
+;; Copyright (C) 2010-2017 Free Software Foundation, Inc
 
 ;; Author: Julien Danjou <julien@danjou.info>
 ;; Keywords: faces
-;; Version: 0.12
+;; Version: 0.13
 
 ;; This file is part of GNU Emacs.
 
@@ -1088,7 +1088,7 @@ If the percentage value is above 100, it's converted to 
100."
       (rainbow-colorize-match color))))
 
 (defun rainbow-color-luminance (red green blue)
-  "Calculate the luminance of color composed of RED, BLUE and GREEN.
+  "Calculate the luminance of color composed of RED, GREEN and BLUE.
 Return a value between 0 and 1."
   (/ (+ (* .2126 red) (* .7152 green) (* .0722 blue)) 256))
 



reply via email to

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