branch: master commit 0121e911384803173695d30d2cdf05ed0be60259 Author: Julien Danjou <jul...@danjou.info> Commit: Julien Danjou <jul...@danjou.info>
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 <jul...@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))