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

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

[elpa] master 0121e91: Fix `rainbow-color-luminance' docstring


From: Julien Danjou
Subject: [elpa] master 0121e91: Fix `rainbow-color-luminance' docstring
Date: Mon, 29 May 2017 02:06:18 -0400 (EDT)

branch: master
commit 0121e911384803173695d30d2cdf05ed0be60259
Author: Julien Danjou <address@hidden>
Commit: Julien Danjou <address@hidden>

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

diff --git a/packages/rainbow-mode/rainbow-mode.el 
b/packages/rainbow-mode/rainbow-mode.el
index 15ae91c..ddd9a94 100644
--- a/packages/rainbow-mode/rainbow-mode.el
+++ b/packages/rainbow-mode/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 <address@hidden>
 ;; 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]