]> git.eshelyaron.com Git - emacs.git/commitdiff
(resize-minibuffer-frame-restore): Don't assume
authorKarl Heuer <kwzh@gnu.org>
Thu, 14 Nov 1996 18:49:50 +0000 (18:49 +0000)
committerKarl Heuer <kwzh@gnu.org>
Thu, 14 Nov 1996 18:49:50 +0000 (18:49 +0000)
minibuffer frame is selected.

lisp/rsz-mini.el

index 1d42fc0ecb85b0575e50436b2c379112d6a905ea..f1221b40ba9afb31cd83e6e5ae1a6612393908d9 100644 (file)
@@ -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))