GNU bug report logs - #12853
24.2.50; doc of `color-defined-p'

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Sat, 10 Nov 2012 16:47:01 UTC

Severity: minor

Found in version 24.2.50

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 12853 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 12853 <at> debbugs.gnu.org
Subject: Re: bug#12853: 24.2.50; doc of `color-defined-p'
Date: Sat, 10 Nov 2012 19:50:07 +0200
> From: "Drew Adams" <drew.adams <at> oracle.com>
> Date: Sat, 10 Nov 2012 08:46:24 -0800
> 
> It should say that the string can be any string, and that the function
> returns non-nil for #1 or #2, and nil otherwise:
>  
> 1. a defined (recognized) color name
> 2. a color RGB code, with prefix `#'
>  
> The doc should not say anything about the particular strings
> "unspecified-fg" or "unspecified-bg": there is nothing special about
> them.  The function returns nil for ANY string other than #1 or #2.

They _are_ special, because they are recognized color names.




This bug report was last modified 12 years and 267 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.