Adrian Aichner <adrian.aichner(a)teradyne.com> wrote:
(setq ibuffer-use-other-window t)
causes this on
M-x ibuffer
with *scratch* being the only window in the frame.
Signaling: (error "Won't change only window")
enlarge-window(1)
ibuffer-shrink-to-fit()
ibuffer-update(nil)
ibuffer(nil)
call-interactively(ibuffer)
I can't reproduce it. If I do xemacs -vanilla then evaluate
(setq ibuffer-use-other-window t) then M-x ibuffer, everything is
hunky-dory.
Hmm. Maybe it helps to change the test at the start of
ibuffer-shrink-to-fit to use ibuffer-window-list, like so?
(when (> (length (ibuffer-window-list)) 1) ...
--
John Paul Wallington