Function: iswitchb-get-bufname
iswitchb-get-bufname is a byte-compiled function defined in
iswitchb.el.gz.
Signature
(iswitchb-get-bufname WIN)
Documentation
Used by iswitchb-get-buffers-in-frames to walk through all windows.
Source Code
;; Defined in /usr/src/emacs/lisp/obsolete/iswitchb.el.gz
(defun iswitchb-get-bufname (win)
"Used by `iswitchb-get-buffers-in-frames' to walk through all windows."
(let ((buf (buffer-name (window-buffer win))))
(if (not (member buf iswitchb-bufs-in-frame))
;; Only add buf if it is not already in list.
;; This prevents same buf in two different windows being
;; put into the list twice.
(setq iswitchb-bufs-in-frame
(cons buf iswitchb-bufs-in-frame)))))