]> git.eshelyaron.com Git - emacs.git/commitdiff
(tty-color-approximate): Doc fix.
authorLuc Teirlinck <teirllm@auburn.edu>
Sat, 24 Jul 2004 21:58:34 +0000 (21:58 +0000)
committerLuc Teirlinck <teirllm@auburn.edu>
Sat, 24 Jul 2004 21:58:34 +0000 (21:58 +0000)
lisp/ChangeLog
lisp/term/tty-colors.el

index e5e354befb7b742ba2987deb03943b5677b225e3..2b9ee25d96e2f396c6548270bf7ff445ea0fd928 100644 (file)
@@ -1,3 +1,11 @@
+2004-07-24  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * term/tty-colors.el (tty-color-approximate): Doc fix.
+
+       * select.el (x-get-selection, x-set-selection): Doc fixes.
+
+       * frame.el (make-frame): Doc fix.
+
 2004-07-24  Richard M. Stallman  <rms@gnu.org>
 
        * mail/rmail.el (rmail-mime-charset-pattern):
index 956d46738df5227120918bc01b54a488f1112af6..1de35822b3942995d762c480ad3a41684dae7d43 100644 (file)
@@ -864,15 +864,10 @@ of gray, thus the name."
     (if (< mag 1) 0 (acos (/ (+ r g b) mag)))))
 
 (defun tty-color-approximate (rgb &optional frame)
-  "Given a list of 3 rgb values in RGB, find the color in `tty-color-alist'
-which is the best approximation in the 3-dimensional RGB space,
-and return its description.
-
-Value is a list of the form \(NAME INDEX R G B\).  Note that the returned
-NAME is not necessarily the same string as the argument COLOR, because
-the latter might need to be approximated if it is not supported directly.
-
-Each value of the RGB triplet should be in the range 0..65535 range.
+  "Find the color in `tty-color-alist' that best approximates RGB.
+Value is a list of the form \(NAME INDEX R G B\).
+The argument RGB should be an rgb value, that is, a list of three
+integers in the 0..65535 range.
 FRAME defaults to the selected frame."
   (let* ((color-list (tty-color-alist frame))
         (candidate (car color-list))