Function: follow-next-window

follow-next-window is an interactive and byte-compiled function defined in follow.el.gz.

Signature

(follow-next-window)

Documentation

Select the next window showing the same buffer.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/follow.el.gz
;;; Movement

;; Note, these functions are not very useful, at least not unless you
;; rebind the rather cumbersome key sequence `C-c . p'.

(defun follow-next-window ()
  "Select the next window showing the same buffer."
  (interactive)
  (let ((succ (cdr (follow-split-followers (follow-all-followers)))))
    (if succ
	(select-window (car succ))
      (error "%s" "No more windows"))))