GNU bug report logs - #24879
[PATCH] Point out the default value of FRAME in the `set-face-*' functions.

Previous Next

Package: emacs;

Reported by: Hong Xu <hong <at> topbug.net>

Date: Fri, 4 Nov 2016 20:30:02 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Hong Xu <hong <at> topbug.net>
Cc: 24879 <at> debbugs.gnu.org
Subject: bug#24879: [PATCH] Point out the default value of FRAME in the `set-face-*' functions.
Date: Fri, 04 Nov 2016 23:31:50 +0200
> From: Hong Xu <hong <at> topbug.net>
> Date: Fri,  4 Nov 2016 13:29:10 -0700
> 
>    The following commands and functions mostly provide compatibility
>  with old versions of Emacs.  They work by calling
> -@code{set-face-attribute}.  Values of @code{t} and @code{nil} for
> -their @var{frame} argument are handled just like
> +@code{set-face-attribute}.  Values of @code{t} and @code{nil}
> +(default) for their @var{frame} argument are handled just like
>  @code{set-face-attribute} and @code{face-attribute}.  The commands
>  read their arguments using the minibuffer, if called interactively.

Do we really need to tell people that an omitted argument defaults to
nil?  And if we do, why in this section?

Thanks.




This bug report was last modified 8 years and 205 days ago.

Previous Next


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