Function: ido-get-bufname
ido-get-bufname is a byte-compiled function defined in ido.el.gz.
Signature
(ido-get-bufname WIN)
Documentation
Used by ido-get-buffers-in-frames to walk through all windows.
Source Code
;; Defined in /usr/src/emacs/lisp/ido.el.gz
(defun ido-get-bufname (win)
"Used by `ido-get-buffers-in-frames' to walk through all windows."
(let ((buf (buffer-name (window-buffer win))))
(unless (or (member buf ido-bufs-in-frame)
(member buf ido-ignore-item-temp-list))
;; 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 ido-bufs-in-frame
(cons buf ido-bufs-in-frame)))))