Variable: show-paren-predicate
show-paren-predicate is a customizable variable defined in
paren.el.gz.
Value
(not (derived-mode . special-mode))
Documentation
Whether to use show-paren-mode(var)/show-paren-mode(fun) in a buffer.
The default is to enable the mode in all buffers that don't
derive from special-mode, which means that it's on (by default)
in all editing buffers.
The predicate is passed as argument to buffer-match-p, which see.
This variable was added, or its default value changed, in Emacs 29.1.
Probably introduced at or before Emacs version 29.1.
Source Code
;; Defined in /usr/src/emacs/lisp/paren.el.gz
(defcustom show-paren-predicate '(not (derived-mode . special-mode))
"Whether to use `show-paren-mode' in a buffer.
The default is to enable the mode in all buffers that don't
derive from `special-mode', which means that it's on (by default)
in all editing buffers.
The predicate is passed as argument to `buffer-match-p', which see."
:type 'buffer-predicate
:safe #'booleanp
:version "29.1")