Variable: ibuffer-maybe-show-predicates

ibuffer-maybe-show-predicates is a customizable variable defined in ibuffer.el.gz.

Value

(#[257 "\301\302\303!\"\205�?\207"
       [buffer-file-name string-match "^ " buffer-name] 5
       ("/nix/store/yvwy8dm26cpa1j12ixgs1dyiaw2abdk9-emacs-snapshot/share/emacs/31.0.50/lisp/ibuffer.elc"
	. 7690)])

Documentation

A list of predicates for buffers to display conditionally.

A predicate can be a regexp or a function. If a regexp, then it will be matched against the buffer's name. If a function, it will be called with the buffer as an argument, and should return non-nil if this buffer should be shown.

Viewing of buffers hidden because of these predicates may be customized via ibuffer-default-display-maybe-show-predicates and is toggled by giving a non-nil prefix argument to ibuffer-update. Note that this specialized filtering occurs before real filtering.

Source Code

;; Defined in /usr/src/emacs/lisp/ibuffer.el.gz
(defcustom ibuffer-maybe-show-predicates `(,(lambda (buf)
					      (and (string-match "^ " (buffer-name buf))
						   (null buffer-file-name))))
  "A list of predicates for buffers to display conditionally.

A predicate can be a regexp or a function.
If a regexp, then it will be matched against the buffer's name.
If a function, it will be called with the buffer as an argument, and
should return non-nil if this buffer should be shown.

Viewing of buffers hidden because of these predicates may be customized
via `ibuffer-default-display-maybe-show-predicates' and is toggled by
giving a non-nil prefix argument to `ibuffer-update'.
Note that this specialized filtering occurs before real filtering."
  :type '(repeat (choice regexp function)))