Function: ido-make-buffer-list-1
ido-make-buffer-list-1 is a byte-compiled function defined in
ido.el.gz.
Signature
(ido-make-buffer-list-1 &optional FRAME VISIBLE)
Documentation
Return list of non-ignored buffer names.
Source Code
;; Defined in /usr/src/emacs/lisp/ido.el.gz
(defun ido-make-buffer-list-1 (&optional frame visible)
"Return list of non-ignored buffer names."
(with-temp-buffer
;; Each call to ido-ignore-item-p LET-binds case-fold-search.
;; That is slow if there's no buffer-local binding available,
;; roughly O(number of buffers). This hack avoids it.
(setq-local case-fold-search nil)
(delq nil
(mapcar
(lambda (x)
(let ((name (buffer-name x)))
(if (not (or (ido-ignore-item-p name ido-ignore-buffers) (member name visible)))
name)))
(buffer-list frame)))))