diff options
| author | Glenn Morris | 2012-02-03 20:23:09 -0500 |
|---|---|---|
| committer | Glenn Morris | 2012-02-03 20:23:09 -0500 |
| commit | 94bc79845c7bec68561e086d7494749a40e48c23 (patch) | |
| tree | 7da38223011fd9a09820e38c0a710d2ac6509561 /doc | |
| parent | bd5cfef1b5a1af525b100d9b1a1a0a6b4c81ad41 (diff) | |
| download | emacs-94bc79845c7bec68561e086d7494749a40e48c23.tar.gz emacs-94bc79845c7bec68561e086d7494749a40e48c23.zip | |
* doc/lispref/minibuf.texi (High-Level Completion): Updates for read-color.
* etc/NEWS: Likewise.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/lispref/minibuf.texi | 12 |
2 files changed, 10 insertions, 6 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 45dc7673212..36780b20248 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-02-04 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * minibuf.texi (High-Level Completion): Updates for read-color. | ||
| 4 | |||
| 1 | 2012-02-03 Glenn Morris <rgm@gnu.org> | 5 | 2012-02-03 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * display.texi (GIF Images): Mention animation. | 7 | * display.texi (GIF Images): Mention animation. |
diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi index e3008470233..a71138f5268 100644 --- a/doc/lispref/minibuf.texi +++ b/doc/lispref/minibuf.texi | |||
| @@ -1335,19 +1335,19 @@ but uses the predicate @code{user-variable-p} instead of | |||
| 1335 | @deffn Command read-color &optional prompt convert allow-empty display | 1335 | @deffn Command read-color &optional prompt convert allow-empty display |
| 1336 | This function reads a string that is a color specification, either the | 1336 | This function reads a string that is a color specification, either the |
| 1337 | color's name or an RGB hex value such as @code{#RRRGGGBBB}. It | 1337 | color's name or an RGB hex value such as @code{#RRRGGGBBB}. It |
| 1338 | prompts with @var{prompt} (default: @code{"Color (name or #R+G+B+):"}) | 1338 | prompts with @var{prompt} (default: @code{"Color (name or #RGB triplet):"}) |
| 1339 | and provides completion for color names, but not for hex RGB values. | 1339 | and provides completion for color names, but not for hex RGB values. |
| 1340 | In addition to names of standard colors, completion candidates include | 1340 | In addition to names of standard colors, completion candidates include |
| 1341 | the foreground and background colors at point. | 1341 | the foreground and background colors at point. |
| 1342 | 1342 | ||
| 1343 | Valid RGB values are described in @ref{Color Names}. | 1343 | Valid RGB values are described in @ref{Color Names}. |
| 1344 | 1344 | ||
| 1345 | The function's return value is the color name typed by the user in the | 1345 | The function's return value is the string typed by the user in the |
| 1346 | minibuffer. However, when called interactively or if the optional | 1346 | minibuffer. However, when called interactively or if the optional |
| 1347 | argument @var{convert} is non-@code{nil}, it converts the name into | 1347 | argument @var{convert} is non-@code{nil}, it converts any input color |
| 1348 | the color's RGB value and returns that value as a string. If an | 1348 | name into the corresponding RGB value string and instead returns that. |
| 1349 | invalid color name was specified, this function signals an error, | 1349 | This function requires a valid color specification to be input. |
| 1350 | except that empty color names are allowed when @code{allow-empty} is | 1350 | Empty color names are allowed when @code{allow-empty} is |
| 1351 | non-@code{nil} and the user enters null input. | 1351 | non-@code{nil} and the user enters null input. |
| 1352 | 1352 | ||
| 1353 | Interactively, or when @var{display} is non-@code{nil}, the return | 1353 | Interactively, or when @var{display} is non-@code{nil}, the return |