comparison lisp/frame.el @ 213:78f53ef88e17 r20-4b5

Import from CVS: tag r20-4b5
author cvs
date Mon, 13 Aug 2007 10:06:47 +0200
parents 78478c60bfcd
children 262b8bb4a523
comparison
equal deleted inserted replaced
212:d8688acf4c5b 213:78f53ef88e17
446 446
447 (defun make-frame-on-device (type connection &optional props) 447 (defun make-frame-on-device (type connection &optional props)
448 "Create a frame of type TYPE on CONNECTION. 448 "Create a frame of type TYPE on CONNECTION.
449 TYPE should be a symbol naming the device type, i.e. one of 449 TYPE should be a symbol naming the device type, i.e. one of
450 450
451 x An X display. CONNECTION should be a standard display string 451 x An X display. CONNECTION should be a standard display string
452 such as \"unix:0\", or nil for the display specified on the 452 such as \"unix:0\", or nil for the display specified on the
453 command line or in the DISPLAY environment variable. Only if 453 command line or in the DISPLAY environment variable. Only if
454 support for X was compiled into XEmacs. 454 support for X was compiled into XEmacs.
455 tty A standard TTY connection or terminal. CONNECTION should be 455 tty A standard TTY connection or terminal. CONNECTION should be
456 a TTY device name such as \"/dev/ttyp2\" (as determined by 456 a TTY device name such as \"/dev/ttyp2\" (as determined by
457 the Unix command `tty') or nil for XEmacs' standard input 457 the Unix command `tty') or nil for XEmacs' standard input
458 and output (usually the TTY in which XEmacs started). Only 458 and output (usually the TTY in which XEmacs started). Only
459 if support for TTY's was compiled into XEmacs. 459 if support for TTY's was compiled into XEmacs.
460 ns A connection to a machine running the NeXTstep windowing 460 ns A connection to a machine running the NeXTstep windowing
461 system. Not currently implemented. 461 system. Not currently implemented.
462 w32 A connection to a machine running Microsoft Windows NT or 462 mswindows A connection to a machine running Microsoft Windows NT or
463 Windows 95. 463 Windows 95/97.
464 pc A direct-write MS-DOS frame. Not currently implemented. 464 pc A direct-write MS-DOS frame. Not currently implemented.
465 465
466 PROPS should be a plist of properties, as in the call to `make-frame'. 466 PROPS should be a plist of properties, as in the call to `make-frame'.
467 467
468 If a connection to CONNECTION already exists, it is reused; otherwise, 468 If a connection to CONNECTION already exists, it is reused; otherwise,
469 a new connection is opened." 469 a new connection is opened."
556 "Return the type of the specified frame (e.g. `x' or `tty'). 556 "Return the type of the specified frame (e.g. `x' or `tty').
557 This is equivalent to the type of the frame's device. 557 This is equivalent to the type of the frame's device.
558 Value is `tty' for a tty frame (a character-only terminal), 558 Value is `tty' for a tty frame (a character-only terminal),
559 `x' for a frame that is an X window, 559 `x' for a frame that is an X window,
560 `ns' for a frame that is a NeXTstep window (not yet implemented), 560 `ns' for a frame that is a NeXTstep window (not yet implemented),
561 `win32' for a frame that is a Windows or Windows NT window (not yet 561 `mswindows' for a frame that is a Windows NT or Windows 95/97 window,
562 implemented),
563 `pc' for a frame that is a direct-write MS-DOS frame (not yet implemented), 562 `pc' for a frame that is a direct-write MS-DOS frame (not yet implemented),
564 `stream' for a stream frame (which acts like a stdio stream), and 563 `stream' for a stream frame (which acts like a stdio stream), and
565 `dead' for a deleted frame." 564 `dead' for a deleted frame."
566 (or frame (setq frame (selected-frame))) 565 (or frame (setq frame (selected-frame)))
567 (if (not (frame-live-p frame)) 'dead 566 (if (not (frame-live-p frame)) 'dead