; Improve documentation of 'defcustom' types

* doc/lispref/customize.texi (Simple Types): Document the
'buffer-predicate' type.  (Bug#79496)
This commit is contained in:
Eli Zaretskii 2025-09-27 12:34:25 +03:00
parent b60e0f4294
commit ade511e316

View file

@ -655,6 +655,12 @@ the symbol name. The widget provides completion.
The value must be either a lambda expression or a function name. The
widget provides completion for function names.
@item buffer-predicate
The value must be a form suitable for the @var{condition} argument of
the @code{buffer-match-p} function (@pxref{Buffer List}). This is handy
for options whose value is submitted to @code{buffer-match-p} to select
suitable buffers.
@item variable
The value must be a variable name. The widget provides completion.