From: Karl Heuer Date: Thu, 14 Nov 1996 18:49:50 +0000 (+0000) Subject: (resize-minibuffer-frame-restore): Don't assume X-Git-Tag: emacs-20.1~3367 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=06fb1cf202b2c42b58be2596c348e8d41df0f1b7;p=emacs.git (resize-minibuffer-frame-restore): Don't assume minibuffer frame is selected. --- diff --git a/lisp/rsz-mini.el b/lisp/rsz-mini.el index 1d42fc0ecb8..f1221b40ba9 100644 --- a/lisp/rsz-mini.el +++ b/lisp/rsz-mini.el @@ -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 @@ respectively." ;; 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))