[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: question about pop-to-buffer
From: |
martin rudalics |
Subject: |
Re: question about pop-to-buffer |
Date: |
Sun, 30 Sep 2012 12:48:12 +0200 |
> And you
> currently can't set the size of the first window at some side because
> there's a bug in `display-buffer-in-major-side-window' :-(
This has been fixed now, hopefully.
> (pop-to-buffer
> (get-buffer-create "*toto*")
> `(display-buffer-in-side-window . ((side . top) (size . ,(/
> (window-total-size (selected-window)) 2)) (slot . 0))))
You now have to use something like
(pop-to-buffer
(get-buffer-create "*toto*")
`(display-buffer-in-side-window . ((side . top) (window-height . ,(/
(window-total-size (selected-window)) 2)) (slot . 0))))
martin