From 73b7530a7eac4ac26ec5f81b8e8727fec23a4402 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 21 Oct 2008 11:27:40 +0000 Subject: [PATCH] (Color Names): Add an xref to `read-color'. --- doc/lispref/ChangeLog | 4 ++++ doc/lispref/frames.texi | 3 +++ etc/NEWS | 1 + 3 files changed, 8 insertions(+) diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 74230f8d5a3..d1148eef101 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,5 +1,9 @@ 2008-10-21 Eli Zaretskii + * frames.texi (Color Names): Add an xref to `read-color'. + + * minibuf.texi (High-Level Completion): Document `read-color'. + * elisp.texi (Top): Add "Swapping Text" to @detailmenu. * positions.texi (Narrowing): Add an xref to "Swapping Text". diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index aea62effcdb..f8b13d64b03 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi @@ -1819,6 +1819,9 @@ valid, and what they look like. In some cases, the value depends on the @dfn{selected frame}, as described below; see @ref{Input Focus}, for the meaning of the term ``selected frame.'' + To read user input of color names with completion, use +@code{read-color} (@pxref{High-Level Completion, read-color}). + @defun color-defined-p color &optional frame This function reports whether a color name is meaningful. It returns @code{t} if so; otherwise, @code{nil}. The argument @var{frame} says diff --git a/etc/NEWS b/etc/NEWS index 51eff8023ae..a0e611e28ee 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1592,6 +1592,7 @@ uses the minibuffer-local-shell-command-map for that. *** `buffer-swap-text' swaps text between two buffers. This can be useful for modes such as tar-mode, archive-mode, RMAIL. ++++ *** `read-color' reads a color name using the minibuffer. *** `face-all-attributes' returns an alist describing all the basic -- 2.39.5