next-window-find-buffer - Split the current window and show new buffer
next-window-find-buffer "buffer" (C-x 3)
next-window-find-buffer splits the current window into two near equal windows, and swaps the current windows buffer to the given buffer. It is effectively a split-window-vertically(2) command followed by a find-buffer(2). When there is insufficient space in the current window to perform the split, then the current window is replaced. The requested buffer is always displayed, if the buffer does not already exist it is created.
Copyright (c) 1998-2006 JASSPA
Last Modified: 2002/01/11
Generated On: 2006/10/07