[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r102495: color-lab.el: Add coding coo
From: |
Katsumi Yamaoka |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r102495: color-lab.el: Add coding cookie. |
Date: |
Wed, 24 Nov 2010 01:28:37 +0000 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 102495
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Wed 2010-11-24 01:28:37 +0000
message:
color-lab.el: Add coding cookie.
color-lab.el (float-pi): Use eval-and-compile.
modified:
lisp/gnus/ChangeLog
lisp/gnus/color-lab.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog 2010-11-24 00:35:23 +0000
+++ b/lisp/gnus/ChangeLog 2010-11-24 01:28:37 +0000
@@ -1,3 +1,8 @@
+2010-11-24 Katsumi Yamaoka <address@hidden>
+
+ * color-lab.el: Add coding cookie.
+ (float-pi): Use eval-and-compile.
+
2010-11-23 Lars Magne Ingebrigtsen <address@hidden>
* shr.el (shr-insert-color-overlay): Split stuff like
=== modified file 'lisp/gnus/color-lab.el'
--- a/lisp/gnus/color-lab.el 2010-11-23 22:24:15 +0000
+++ b/lisp/gnus/color-lab.el 2010-11-24 01:28:37 +0000
@@ -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 @@
(* Rt (/ ΔC′ (* Sc kC)) (/ ΔH′ (* Sh kH)))))))))
(provide 'color-lab)
+
+;;; color-lab.el ends here
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r102495: color-lab.el: Add coding cookie.,
Katsumi Yamaoka <=