comparison lisp/frame.el @ 83181:159920fd1024

Merged in changes from CVS trunk. Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-464 Update from CVS: lisp/progmodes/make-mode.el: Fix comments. * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-465 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-466 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-467 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-221
author Karoly Lorentey <lorentey@elte.hu>
date Sat, 24 Jul 2004 22:08:12 +0000
parents e657dca8261e 8a0830a6f469
children 4e92102a0172
comparison
equal deleted inserted replaced
83180:e657dca8261e 83181:159920fd1024
530 (make-frame parms)))) 530 (make-frame parms))))
531 531
532 ;;;; Creation of additional frames, and other frame miscellanea 532 ;;;; Creation of additional frames, and other frame miscellanea
533 533
534 (defun modify-all-frames-parameters (alist) 534 (defun modify-all-frames-parameters (alist)
535 "Modify all current and future frames parameters according to ALIST. 535 "Modify all current and future frames' parameters according to ALIST.
536 This changes `default-frame-alist' and possibly `initial-frame-alist'. 536 This changes `default-frame-alist' and possibly `initial-frame-alist'.
537 See help of `modify-frame-parameters' for more information." 537 See help of `modify-frame-parameters' for more information."
538 (let (element) ;; temp 538 (let (element) ;; temp
539 (dolist (frame (frame-list)) 539 (dolist (frame (frame-list))
540 (modify-frame-parameters frame alist)) 540 (modify-frame-parameters frame alist))
854 854
855 (defun set-frame-configuration (configuration &optional nodelete) 855 (defun set-frame-configuration (configuration &optional nodelete)
856 "Restore the frames to the state described by CONFIGURATION. 856 "Restore the frames to the state described by CONFIGURATION.
857 Each frame listed in CONFIGURATION has its position, size, window 857 Each frame listed in CONFIGURATION has its position, size, window
858 configuration, and other parameters set as specified in CONFIGURATION. 858 configuration, and other parameters set as specified in CONFIGURATION.
859 However, this function does not restore deleted frames.
860
859 Ordinarily, this function deletes all existing frames not 861 Ordinarily, this function deletes all existing frames not
860 listed in CONFIGURATION. But if optional second argument NODELETE 862 listed in CONFIGURATION. But if optional second argument NODELETE
861 is given and non-nil, the unwanted frames are iconified instead." 863 is given and non-nil, the unwanted frames are iconified instead."
862 (or (frame-configuration-p configuration) 864 (or (frame-configuration-p configuration)
863 (signal 'wrong-type-argument 865 (signal 'wrong-type-argument