From: Katsumi Yamaoka Date: Wed, 24 Nov 2010 01:28:37 +0000 (+0000) Subject: color-lab.el: Add coding cookie. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~45^2~136 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=463bcf116e617a6e4e07da6b6d2d2e09018493de;p=emacs.git color-lab.el: Add coding cookie. color-lab.el (float-pi): Use eval-and-compile. --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 41eab2f092a..a1f1fa5eaea 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,8 @@ +2010-11-24 Katsumi Yamaoka + + * color-lab.el: Add coding cookie. + (float-pi): Use eval-and-compile. + 2010-11-23 Lars Magne Ingebrigtsen * shr.el (shr-insert-color-overlay): Split stuff like diff --git a/lisp/gnus/color-lab.el b/lisp/gnus/color-lab.el index 16f711a3c9a..c5a953cea35 100644 --- a/lisp/gnus/color-lab.el +++ b/lisp/gnus/color-lab.el @@ -1,4 +1,4 @@ -;;; color-lab.el --- Color manipulation laboratory routines +;;; color-lab.el --- Color manipulation laboratory routines -*- coding: utf-8; -*- ;; Copyright (C) 2010 Free Software Foundation, Inc. @@ -27,8 +27,9 @@ ;;; Code: ;; Emacs < 23.3 -(unless (boundp 'float-pi) - (defconst float-pi (* 4 (atan 1)) "The value of Pi (3.1415926...).")) +(eval-and-compile + (unless (boundp 'float-pi) + (defconst float-pi (* 4 (atan 1)) "The value of Pi (3.1415926...)."))) (defun rgb->hsv (red green blue) "Convert RED GREEN BLUE values to HSV representation. @@ -243,3 +244,5 @@ Colors must be in CIE L*a*b* format." (* Rt (/ ΔC′ (* Sc kC)) (/ ΔH′ (* Sh kH))))))))) (provide 'color-lab) + +;;; color-lab.el ends here