Function: follow-switch-to-buffer
follow-switch-to-buffer is an interactive and byte-compiled function
defined in follow.el.gz.
Signature
(follow-switch-to-buffer BUFFER)
Documentation
Show BUFFER in all windows in the current Follow mode window chain.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/follow.el.gz
(defun follow-switch-to-buffer (buffer)
"Show BUFFER in all windows in the current Follow mode window chain."
(interactive "BSwitch to Buffer: ")
(let ((orig-window (selected-window))
(windows (follow-all-followers)))
(while windows
(select-window (car windows))
(switch-to-buffer buffer)
(setq windows (cdr windows)))
(select-window orig-window)))