]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/faces.el (read-color): Minor doc fix.
authorChong Yidong <cyd@gnu.org>
Mon, 5 Dec 2011 15:23:56 +0000 (23:23 +0800)
committerChong Yidong <cyd@gnu.org>
Mon, 5 Dec 2011 15:23:56 +0000 (23:23 +0800)
lisp/ChangeLog
lisp/faces.el

index ef91deddc1daffcf9f0b9c1721bb1c853ada43a8..ff9a8ad19df58f1fdb54f1f2eeb7a88e7951e7fe 100644 (file)
@@ -1,3 +1,7 @@
+2011-12-05  Chong Yidong  <cyd@gnu.org>
+
+       * faces.el (read-color): Doc fix.
+
 2011-12-05  Glenn Morris  <rgm@gnu.org>
 
        * align.el (align--set-marker): Add doc-string.
index f10c9f87f25e889d64780d8eb4a5bae519723698..21193589deb94304f09025024dc34a9c865e47ff 100644 (file)
@@ -1704,13 +1704,14 @@ If omitted or nil, that stands for the selected frame's display."
       (> (tty-color-gray-shades display) 2)))))
 
 (defun read-color (&optional prompt convert-to-RGB allow-empty-name msg)
-  "Read a color name or RGB triplet of the form \"#RRRRGGGGBBBB\".
+  "Read a color name or RGB triplet.
 Completion is available for color names, but not for RGB triplets.
 
-RGB triplets have the form #XXXXXXXXXXXX, where each X is a hex
-digit.  The number of Xs must be a multiple of 3, with the same
-number of Xs for each of red, green, and blue.  The order is red,
-green, blue.
+RGB triplets have the form \"#RRGGBB\".  Each of the R, G, and B
+components can have one to four digits, but all three components
+must have the same number of digits.  Each digit is a hex value
+between 0 and F; either upper case or lower case for A through F
+are acceptable.
 
 In addition to standard color names and RGB hex values, the
 following are available as color candidates.  In each case, the