emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

doc-string of frame-live-p


From: Pavel Janík
Subject: doc-string of frame-live-p
Date: Tue, 30 Oct 2001 12:06:30 +0100
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1.50 (i386-suse-linux-gnu)

Hi,

the function frame-live-p is defined as follows:

DEFUN ("frame-live-p", Fframe_live_p, Sframe_live_p, 1, 1, 0,
       doc: /* Return non-nil if OBJECT is a frame which has not been deleted.
Value is nil if OBJECT is not a live frame.  If object is a live
frame, the return value indicates what sort of output device it is
displayed on.  Value is t for a termcap frame (a character-only
terminal), `x' for an Emacs frame being displayed in an X window.  */)
     (object)
     Lisp_Object object;
{
  return ((FRAMEP (object)
           && FRAME_LIVE_P (XFRAME (object)))
          ? Fframep (object)
          : Qnil);
}

In fact, it can return also other values as the doc-string of framep says:

`x' for an Emacs frame that is really an X window,
`w32' for an Emacs frame that is a window on MS-Windows display,
`mac' for an Emacs frame on a Macintosh display,
`pc' for a direct-write MS-DOS frame.

Should we mention all these values also in frame-live-p or is the reference
to the doc-string of framep enough?
-- 
Pavel Janík

prom_printf("Detected PenguinPages, getting out of here.\n");
                  -- 2.0.38 arch/sparc/mm/srmmu.c



reply via email to

[Prev in Thread] Current Thread [Next in Thread]