unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <jmbarranquero@wke.es>
Subject: workings and docstring of internal-lisp-face-equal-p
Date: Thu, 13 May 2004 10:06:25 +0200	[thread overview]
Message-ID: <20040513095339.FB78.JMBARRANQUERO@wke.es> (raw)

Documentation for internal-lisp-face-equal-p has this bit:

 If the optional argument FRAME is given, report on face FACE in that frame.
 If FRAME is t, report on the defaults for face FACE (for new frames).
 If FRAME is omitted or nil, use the selected frame.  */)

but the arguments are FACE1 and FACE2, not FACE.  This seems like a c&p
bug, because the docstring is almost identical to the one for
`internal-lisp-face-empty-p'.

The code is a bit weird.  What is the frame_or_selected_frame call for,
other than perhaps checking the passed frame wich CHECK_LIVE_FRAME? The
resulting struct frame * f is not used, because the function is passing
NULL to lface_from_face_name, so in fact what is doing is comparing the
defaults of FACE1 and FACE2 for new frames...

                                                                Juanma

                 reply	other threads:[~2004-05-13  8:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040513095339.FB78.JMBARRANQUERO@wke.es \
    --to=jmbarranquero@wke.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).