[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r106621: * lisp/faces.el (read-color)
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r106621: * lisp/faces.el (read-color): Minor doc fix. |
Date: |
Mon, 05 Dec 2011 23:23:56 +0800 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 106621
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Mon 2011-12-05 23:23:56 +0800
message:
* lisp/faces.el (read-color): Minor doc fix.
modified:
lisp/ChangeLog
lisp/faces.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2011-12-05 08:55:25 +0000
+++ b/lisp/ChangeLog 2011-12-05 15:23:56 +0000
@@ -1,3 +1,7 @@
+2011-12-05 Chong Yidong <address@hidden>
+
+ * faces.el (read-color): Doc fix.
+
2011-12-05 Glenn Morris <address@hidden>
* align.el (align--set-marker): Add doc-string.
=== modified file 'lisp/faces.el'
--- a/lisp/faces.el 2011-11-20 07:30:16 +0000
+++ b/lisp/faces.el 2011-12-05 15:23:56 +0000
@@ -1704,13 +1704,14 @@
(> (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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r106621: * lisp/faces.el (read-color): Minor doc fix.,
Chong Yidong <=