comparison lisp/frame.el @ 56507:8a0830a6f469

(modify-all-frames-parameters): Minor doc fix. (set-frame-configuration): Doc fix.
author Luc Teirlinck <teirllm@auburn.edu>
date Fri, 23 Jul 2004 12:16:31 +0000
parents 487f85e36408
children b1b127f6d343 159920fd1024
comparison
equal deleted inserted replaced
56506:eb3296c0d36a 56507:8a0830a6f469
518 (make-frame parms)))) 518 (make-frame parms))))
519 519
520 ;;;; Creation of additional frames, and other frame miscellanea 520 ;;;; Creation of additional frames, and other frame miscellanea
521 521
522 (defun modify-all-frames-parameters (alist) 522 (defun modify-all-frames-parameters (alist)
523 "Modify all current and future frames parameters according to ALIST. 523 "Modify all current and future frames' parameters according to ALIST.
524 This changes `default-frame-alist' and possibly `initial-frame-alist'. 524 This changes `default-frame-alist' and possibly `initial-frame-alist'.
525 See help of `modify-frame-parameters' for more information." 525 See help of `modify-frame-parameters' for more information."
526 (let (element) ;; temp 526 (let (element) ;; temp
527 (dolist (frame (frame-list)) 527 (dolist (frame (frame-list))
528 (modify-frame-parameters frame alist)) 528 (modify-frame-parameters frame alist))
787 787
788 (defun set-frame-configuration (configuration &optional nodelete) 788 (defun set-frame-configuration (configuration &optional nodelete)
789 "Restore the frames to the state described by CONFIGURATION. 789 "Restore the frames to the state described by CONFIGURATION.
790 Each frame listed in CONFIGURATION has its position, size, window 790 Each frame listed in CONFIGURATION has its position, size, window
791 configuration, and other parameters set as specified in CONFIGURATION. 791 configuration, and other parameters set as specified in CONFIGURATION.
792 However, this function does not restore deleted frames.
793
792 Ordinarily, this function deletes all existing frames not 794 Ordinarily, this function deletes all existing frames not
793 listed in CONFIGURATION. But if optional second argument NODELETE 795 listed in CONFIGURATION. But if optional second argument NODELETE
794 is given and non-nil, the unwanted frames are iconified instead." 796 is given and non-nil, the unwanted frames are iconified instead."
795 (or (frame-configuration-p configuration) 797 (or (frame-configuration-p configuration)
796 (signal 'wrong-type-argument 798 (signal 'wrong-type-argument