[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Changing the current buffer on a minibuffer-only frame
From: |
Ken Hori |
Subject: |
Re: Changing the current buffer on a minibuffer-only frame |
Date: |
Fri, 15 Oct 2010 10:26:42 -0700 |
That did it. Thanks for the code, Martin.
On Thu, Oct 14, 2010 at 11:35 PM, martin rudalics <rudalics@gmx.at> wrote:
>> 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
>