Function: list-buffers

list-buffers is an interactive and byte-compiled function defined in buff-menu.el.gz.

Signature

(list-buffers &optional ARG)

Documentation

Display a list of existing buffers.

The list is displayed in a buffer named "*Buffer List*". See buffer-menu for a description of the Buffer Menu.

By default, all buffers are listed except those whose names start with a space (which are for internal use). With prefix argument ARG, show only buffers that are visiting files.

Probably introduced at or before Emacs version 21.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/buff-menu.el.gz
;;;###autoload
(defun list-buffers (&optional arg)
  "Display a list of existing buffers.
The list is displayed in a buffer named \"*Buffer List*\".
See `buffer-menu' for a description of the Buffer Menu.

By default, all buffers are listed except those whose names start
with a space (which are for internal use).  With prefix argument
ARG, show only buffers that are visiting files."
  (interactive "P")
  (display-buffer (list-buffers-noselect arg)))