help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing the current buffer on a minibuffer-only frame


From: martin rudalics
Subject: Re: Changing the current buffer on a minibuffer-only frame
Date: Fri, 15 Oct 2010 08:35:08 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

> A minibuffer-only frame, e.g. (make-initial-minibuffer-frame
> nil), selects the displayed buffer on a caller window as the
> default buffer on the newly-created frame. I am unaware of any
> way to specify or change an arbitrary buffer for this frame.

Is something like

(let* ((frame (make-initial-minibuffer-frame nil))
       (window (frame-root-window frame)))
  (set-window-buffer window "*Messages*"))

what you want?

martin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]