Mercurial > emacs
changeset 3764:d965878f294f
* frame.el (set-frame-configuration): Don't try to set a frame's
minibuffer. This parameter can't be changed, so that would signal
an error.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Wed, 16 Jun 1993 21:24:11 +0000 |
parents | c58fb240170d |
children | bde2da377085 |
files | lisp/frame.el |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/frame.el Wed Jun 16 21:19:06 1993 +0000 +++ b/lisp/frame.el Wed Jun 16 21:24:11 1993 +0000 @@ -351,7 +351,14 @@ (let ((parameters (assq frame config-alist))) (if parameters (progn - (modify-frame-parameters frame (nth 1 parameters)) + (modify-frame-parameters + frame + ;; Since we can't set a frame's minibuffer status, + ;; we might as well omit the parameter altogether. + (let* ((parms (nth 1 parameters)) + (mini (assq 'minibuffer parms))) + (if mini (setq parms (delq mini parms))) + parms)) (set-window-configuration (nth 2 parameters))) (setq frames-to-delete (cons frame frames-to-delete)))))) (frame-list))