changeset 16577:15cf729665be

(resize-minibuffer-frame-restore): Don't assume minibuffer frame is selected.
author Karl Heuer <kwzh@gnu.org>
date Thu, 14 Nov 1996 18:49:50 +0000
parents a04c1653a37c
children c921b60ee783
files lisp/rsz-mini.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/rsz-mini.el	Thu Nov 14 09:17:55 1996 +0000
+++ b/lisp/rsz-mini.el	Thu Nov 14 18:49:50 1996 +0000
@@ -7,7 +7,7 @@
 ;; Maintainer: friedman@prep.ai.mit.edu
 ;; Keywords: minibuffer, window, frame, display
 ;; Status: Known to work in FSF GNU Emacs 19.26 and later.
-;; $Id: rsz-mini.el,v 1.10 1996/01/09 23:21:29 kwzh Exp erik $
+;; $Id: rsz-mini.el,v 1.11 1996/01/14 07:34:30 erik Exp kwzh $
 
 ;; This file is part of GNU Emacs.
 
@@ -242,7 +242,7 @@
 ;; resize-minibuffer-frame-original-height is set in
 ;; resize-minibuffer-setup.
 (defun resize-minibuffer-frame-restore ()
-  (set-frame-size (selected-frame)
+  (set-frame-size (window-frame (minibuffer-window))
                   (frame-width)
                   resize-minibuffer-frame-original-height))