switch-to-next-buffer

switch-to-next-buffer is an interactive compiled Lisp function in `window.el'.


(switch-to-next-buffer &optional WINDOW)

In WINDOW switch to next buffer.
WINDOW must be a live window and defaults to the selected one.
Return the buffer switched to, nil if no suitable buffer could be
found.